Displaying price as "Please call For Low Price"
Is there a way to modify X-cart so I can display a text message instead of price? We cannot list some prices because they are below manufacturers price and they forbid it. I tried the modification to leave out the price altogether if I entered zero but I had no luck. I still get the "Enter a price" line. Also if anybody knows were the text labels are definded, I would like to know (ie. the text for labels in the templates).
Thanks for your help. Glen |
you could add a condition in products.tpl and product.tpl when the price is equal to zero...
|
vincent,
could you possibly provide an example on how to do this? Thanks! |
same pricing prob
I would like to be able to have people call for pricing for the really expensive items ya know?
how do put text (call for pricing) in the price variable box? |
You could provide a condition such as the following:
Code:
{if $product.price > 50000} |
usermike and all -
thank you for the help. though i dunno how to script php code. i want to learn. books? websites? thank you again |
Smarty PHP Documentation
David,
This scripting is actually Smarty PHP template engine. It is actually quite a nice tool, but a little confusing at first glance. You can learn more at this site and get some good documentation that is instructional. http://smarty.php.net/manual/en/ I found it helpful. |
i still dont know what smarty does. do i create my own template by using smarty coding? it doesnt have a front end right? the manual tells me how to script, so i figure i have to go in and try things myself, but it seems more trouble than its worth. i dunno
|
All times are GMT -8. The time now is 05:49 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.