happyhoundweb Posted January 22, 2014 Share Posted January 22, 2014 Hi all. Anybody know how to put an add to cart button on the favourites page? I have tried a few different techniques in the tpl file but all to no avail! Cheers, Dan Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 22, 2014 Share Posted January 22, 2014 Hi. You need to edit the favoriteproducts-account.tpl file and add the button. The class must be 'ajax_add_to_cart_button' and the rel attribute has to be: ajax_id_product_[PRODUCT_ID] Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
happyhoundweb Posted January 23, 2014 Author Share Posted January 23, 2014 Thanks for the quick reply Robin. I have tried that, but I can't seem to get the product ID. Not to worry though, it's not important! Cheers, Dan Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 23, 2014 Share Posted January 23, 2014 Hi Dan. The ID is: $favoriteProduct.id_product Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
happyhoundweb Posted January 28, 2014 Author Share Posted January 28, 2014 Cheers Robin Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 29, 2014 Share Posted January 29, 2014 Hi. Please mark the topic as SOLVED if that's the case. Regards.Robin.The CartExpert Team 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