Hello. Is there a module for call for price that functions like this one http://www.zen-cart.com/index.php?ma...roducts_id=206
Instead of just a plain text saying "contact for price", i want it to be a link.
Thanks
Hello. Is there a module for call for price that functions like this one http://www.zen-cart.com/index.php?ma...roducts_id=206
Instead of just a plain text saying "contact for price", i want it to be a link.
Thanks
Hello.Hope I land on the right forum. Is there a module for call for price that functions like this one http://www.zen-cart.com/index.php?ma...roducts_id=206
Instead of just a plain text saying "contact for price", i want it to be a link.
I think there is a link for call for price. As far as I could remember, before, when I mark a product as call for price, there are two call for price showing. The blue "call for price" text is a hyperlink. I leads me to a Contact Us page(cant remember that much).Here is the screenshot
Unfortunately I cant remember which file I modified and worse is dont know if I commented out the code for that or I deleted it.
Kindly help me out on this please.
Thanks
admin Tools Developers Toolkit and search for the words you want to find
~~~~~~~~~~~~~~~~~~~~~~~~~~
Play with it long enough and you will break it.
Thanks for that quick reply. I already did that, found the defines in includes/languages/english.php. It only shows the text. I want it to be a link and direct it to a contact page(just like the ask us about this product, when you go to product info, click the ask us about this item button, it leads you to a contact page). I remember having that before, I just dont remember which file i modified it and HOW did I modify it, wondering if I commented it out or deleted it. My bad I didnt provide documentations before.
~~~~~~~~~~~~~~~~~~~~~~~~~~
Play with it long enough and you will break it.
I tried this on english.php
define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT','<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">Contact for Price</a>');
but it leads me to a blank page. Is it possible to create a module similar to ask us module?
Try
define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT','<a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL') ?>">Call for Price</a>');
~~~~~~~~~~~~~~~~~~~~~~~~~~
Play with it long enough and you will break it.
this only turns a blank page.
I remember the call for price with a link works like a button with hyperlink in product listing page. As you can see in the screenshot, there are 2 call for price showing, one is just a plain red text (it came from includes/functions/extra_functions/in_ex_functions.php) and the blue one has a hyperlink.Big problem is dont know which file to modify. Is it in include/modules/my_template/product_listing.php? I badly needed to bring back that text with hyperlink.
this link placed anywhere on your site will link to the contact us page
<a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL') ?>">Call for Price</a>
If you can't remember what you modified you are stuck with doing a backup
~~~~~~~~~~~~~~~~~~~~~~~~~~
Play with it long enough and you will break it.
apologies for being such a dumb, this code works for me now
Code:define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT','<br/><a style="color:red" href="' . zen_href_link(FILENAME_CONTACT_US) . '">Contact for price</a>');
Thank you so much for your help!
Bookmarks