Andron777 Posted August 27, 2017 Share Posted August 27, 2017 Hello, I want to show product condition in blockcart module, I already have done some success but i cant make it work in ajax. this is what I have done: added in classes > cart.php at line 510 p.condition added in blockcart-json.tpl "condition": {$product.condition|intval}, it works in blockcart.tpl but it is not working in the ajax-cart.tpl. In other words I must refresh the page so that it will work. But it should work without refresh when adding products to cart. in ajax-cart.js I call it by this variable "this.condition" but the result i get after adding product to cart is "undefined" Any idea what I am missing? Link to comment Share on other sites More sharing options...
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