"Enter your price" fix on zero priced items
I've found and utilised the modifications to product.tpl and products.tpl to remove those "enter your price" fields on zero priced items i.e. my freebies, BUT the "buy now" buttons still take me to the product details rather than adding straight to cart. Where is this behaviour defined for zero priced items and can it be changed easily?
Thanks Dan |
i think buy now takes you to a detailed view if the product has options
|
Thanks Shan, this product that I'm testing has no options so I'm not sure. In fact, it is a clone of an existing priced item and I get different behaviour depending on which of the products I choose i.e. the zero priced clone takes me to a detailed view whereas the priced original item goes straight into the cart.
Thanks Dan |
Take a look at buy_now.tpl
find this Code:
{* $Id: buy_now.tpl,v 1.8 2003/11/14 14:41:51 svowl Exp $ *} notice the or $product.price eq 0 at the end |
Thanks Shan! Works like a charm, simply deleted "or $product.price eq 0". Now it adds straight to cart.
Thanks again, Dan |
All times are GMT -8. The time now is 12:16 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.