Add new page for "free shipping" products
This is my first site using x-cart and I am not a developer.
I need some help to create a new listing like "Featured Products" that displays only products with "Free Shipping" set to yes in the product setup. I have an image in the welcome content (welcome.tpl) that I would like to use to link to this new listing of products.
Here is what I have done so far...
1) In welcome.tpl - added the image and linked it to help.php for now:
<a href="help.php"><img src="{$AltImagesDir}/2column/free_ship.jpg" alt="" /></a>
2) I have copied featured.tpl to a new file called free_shipping.tpl. I changed lbl_featured_products to lbl_free_shipping_products and added the label in the admin page.
Here I am stuck...
1) Where and what do I need to change to use the same layout as featured products but only when "Free Shipping" is "yes" - whether the product is featured or not?
2) How do I link the product listing to the image?
Any help would be much appreciated!
__________________
X Cart PRO 4.4.2 (unix)
|