mansoor-13 Posted July 4, 2015 Share Posted July 4, 2015 Hi Dear Guys I want to add an extra image button which the link behind the button (a href) , define in each product admin page. for example I have an extra local C.O.D system which have a seprate link to sell a product on the C.O.D Gateway. In general case and easy way : It can do with put an image with special link ( <a href="#"> <img / > </a> ) inside the Description of any product manually. But is there any better way (eg. module) to put a Picture as a button next to prestashop "add to cart" and get the special link (not static) in the admin of each product , from user. How can you help me to do this ? Special Thanks in advance. Mansoor Link to comment Share on other sites More sharing options...
mansoor-13 Posted July 5, 2015 Author Share Posted July 5, 2015 Hellooo! Anybody's there ? Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted July 5, 2015 Share Posted July 5, 2015 It depends on the "href". If you can generate the href based on the information that is at the product page, you can just change the product.tpl template.So basically, how does this link looks like? Link to comment Share on other sites More sharing options...
vekia Posted July 5, 2015 Share Posted July 5, 2015 as i understand you should pass some variable in the link to identify the product? or something else? Link to comment Share on other sites More sharing options...
mansoor-13 Posted July 6, 2015 Author Share Posted July 6, 2015 (edited) Hi Dear Guys to see the structure and sample of links, please check below. these are example links of two different products : 1- Product1 2- Product2 The variable item which changes in the link structure , is our product ID in the C.O.D system, and I can put this item(4-digits number) on the Prestashop product reference id field (for each product) so can we use that ? Thank You Mansoor Edited July 6, 2015 by mansoor-13 (see edit history) 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