The problem is that it works only if you visit checkout page. I noticed that this happens because the (+, -) quantity buttons need to call some events that are included in the file: /themes/community-theme-default/js/cart-summary.js, but the file cart-summary.js is called only when you visit the checkout page. How can i make this work as i need it on my custom theme?
Question
d3s1gn3r
Hi guys, i was wondering how can i add the product quantity field and increase, decrease buttons per product in the dropdown cart ?
I added the code below inside the /themes/community-theme-default/modules/blockcart/includes/dropdown.tpl file but worked partially.
Here is the code:
The problem is that it works only if you visit checkout page. I noticed that this happens because the (+, -) quantity buttons need to call some events that are included in the file: /themes/community-theme-default/js/cart-summary.js, but the file cart-summary.js is called only when you visit the checkout page. How can i make this work as i need it on my custom theme?
Thanks in advance.
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now