Always showing quantity as 1 and price as $205 even on their demo link.
]]>Hi,
I really like your woocommerce cart plugin.
I installed it and tried to tweak it to fit my template with partial success only.
I already have a cart icon with item count in my menu bar and want to bind it to the plugin side pannel like the “shopping-cart-open” element is already doing.
My menu cart container class name is “woo-menu-cart”
I added “shopping-cart-open” to it like : class=”woo-menu-cart shopping-cart-open”
and “cart-section” to its parent element.
<li class="woo-menu-cart cart-section">
<a class="cart-contents shopping-cart-open" href="javascript:void(0)"><i class="fas fa-shopping-cart"></i>
<div class="woo-cart-count"><?php echo WC()->cart->get_cart_contents_count(); ?></div>
</a>
</li>
I want to open the cart pannel when clicking on it, sometimes it works sometimes it does not. I don’t know why, if I add an item to the cart, it’s working but if I go to another page, when clicking my cart icon, it does not work anymore.
Can you please help me to assign exactly the same behaviour of the cart side pannel like when clicking the element “shopping-cart-open” or adding an item to the cart?
thanks a lot for your help
PS: the price of all products shows 205 price and quantity :1 in the side pannel, there may be a small bug, hard code values must be replaced by woo codes.
thanks
Damien