X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Displaying price as "Please call For Low Price" (https://forum.x-cart.com/showthread.php?t=1526)

gbuecker 02-15-2003 08:47 PM

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

vincentjiang 02-15-2003 09:20 PM

you could add a condition in products.tpl and product.tpl when the price is equal to zero...

disneyana 02-15-2003 11:00 PM

vincent,

could you possibly provide an example on how to do this? Thanks!

davidgreenberg 03-03-2003 11:38 AM

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?

usermike 03-03-2003 12:02 PM

You could provide a condition such as the following:

Code:

{if $product.price > 50000}
{$lng.lbl_call_for_price}
{else}
blah blah
{/if}


davidgreenberg 03-05-2003 09:16 PM

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

blane 03-05-2003 10:04 PM

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.

davidgreenberg 03-10-2003 12:04 PM

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.