| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Promo Text for products in 1 category only or products i select only | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Promo Text for products in 1 category only or products i select only
i would like to have certain products display a line of text when they are on promotion such as "Free accessory you buy this item" -
Is there some built in functionality that allows me to turn on "promo text" for specific products only ? Alternatively, I'm looking at the file template product_t.tpl and i'd like to mimic the free shipping functionality by adding this code {if $product.free_accessory eq "Y"} <div><span class="label label-success">{$lng.lbl_free_accessory|upper}</span></div> {/if} I've added the language label but now i need to know how to add the boolean field to check if free_accessory = 1 or 0. I assume i need to 1. add a new DB field 2. add a checkbox in add/edit template Can someone please give me some guidance on how best to accomplish this. Thank you
__________________
X-Cart 4.6.3 Abandoned Cart Reminder Refine Filters |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Promo Text for products in 1 category only or products i select only
Try the 'Extra Fields' module perhaps?
This way you can customize the message for each applicable product?
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|