Jump to content

Can Presta be used with no prices as a showcase?


Recommended Posts

Hi,

Can this be used easily without prices so when the cart it pressed, it goes to 'Send me more info' or something like that.

Idea is it is a Showcase and they can say they are interested or ask for more info on it.

Thanks

star

Link to comment
Share on other sites

I would like a way to do this as well. Enter zero in product quantity available. And then click deny orders when product out of stock. and in your product description Give more info plus contact details. In the product.tpl file inside your themes folder. There should be something like the below code.
I am not sure about how to go about this. but you may want to try removing stuff from here and test. if the page appears broken put the code back. You need to remove each block and put it back until you hit the right one. or maybe try removing the whole thing. Remember to backup the file in your computer before you start doing anything. Afterwards if it doesnt work out , just upload the backed up file.


{if $product->on_sale}
{l s='Get naughty this christmas'}
{l s=''}
{elseif ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))}
{l s='Price lowered!'}
{/if}



{if !$priceDisplay || $priceDisplay == 2}
{convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)}
{l s='tax incl.'}
{/if}
{if $priceDisplay == 1}
{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}
{l s='tax excl.'}
{/if}

{if $priceDisplay == 2}


{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)} {l s='tax excl.'}
{/if}



{if ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))}


{if !$priceDisplay || $priceDisplay == 2}
{convertPrice price=$product->getPriceWithoutReduct()}
{l s='tax incl.'}
{/if}
{if $priceDisplay == 1}
{convertPrice price=$product->getPriceWithoutReduct(true)}
{l s='tax excl.'}
{/if}


{/if}
{if $product->reduction_percent != 0 && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))}

{l s='(price reduced by'} {$product->reduction_percent|floatval} %{l s=')'}

Link to comment
Share on other sites

×
×
  • Create New...