I have link "Show cart" static now http://www.baytires.com/index.php?page=shop.cart
How can I make it dynamic, based on items added?
Without looking at the code specifically, there is already a conditional statement in there based on the number of products in the cart since it displays "Your Cart is currently empty." until you put something in it. Find that part in the code and copy the logic for use on the link.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.