| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Related Product to Related Size Chart | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm digging and digging (liked old forum search better) but not finding a hint for how to display a bit of html--link, text, etc--in the product.tpl file on condition of product brand (captured?) of the item being displayed.
Thoughts, anyone? MUCH APPRECIATED! :~D
__________________
HeartThrob Lingerie 4.0.18 Modz: ezcheckout | ezupsell | hiddencategories | multicategory_templates | multproduct_templates | pleasant_payment_details | rememberme | xnews |
|||||||
#2
|
|||||||
|
|||||||
![]() You are kidding about the search right? This search is 1000 times better. Be sure to NOT use and in your searches...just type the straight search query.
So you are looking for an {if} statement conditional to the Manufacturer of a product or a Category? Also, please don't post in the Completed Custom Mods forum, that is for Completed code only.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Yes, I am looking for an {if} statement conditional to the Manufacturer of a product.
Re. correct topical category: the breadcrumb in my browser shows "X-Cart forums > X-Cart Customization > Storefront Design & Template Editing"... something missing? :~)
__________________
HeartThrob Lingerie 4.0.18 Modz: ezcheckout | ezupsell | hiddencategories | multicategory_templates | multproduct_templates | pleasant_payment_details | rememberme | xnews |
|||||||
#4
|
|||||||
|
|||||||
![]() Yea, that is because I moved the post.
{if $manufacturerid eq "x"} Replace X with the manufacturer ID you want to display something for. Not tested, but give it a shot. May also want to try $product.manufacturerid
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Mr. Ryan, sir;
Thanks on both topics :~) This works: {if $product.manufacturerid eq "1"}Leg Ave{/if} {if $product.manufacturerid eq "2"}Shirley of Hollywood{/if} {if $product.manufacturerid eq "3"}Dreamgirl{/if} I hope you're making the big bucks you obviously deserve, Mic
__________________
HeartThrob Lingerie 4.0.18 Modz: ezcheckout | ezupsell | hiddencategories | multicategory_templates | multproduct_templates | pleasant_payment_details | rememberme | xnews |
|||||||
#6
|
|||||||
|
|||||||
![]() *laugh* Feel free to send me big bucks
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Padraic and his Big Money -> http://www.telafirma.com/big_dollar.jpg
|
|||||||||
#8
|
|||||||
|
|||||||
![]() *rofl*
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() So, how about something like
{if $product.manufacturerid eq "1"}Leg Ave{/if} {if $product.manufacturerid eq "2"}Shirley of Hollywood{/if} {if $product.manufacturerid eq "3"}Dreamgirl{/if} but for product or category (product, ideally), instead of manufacturerid? :~) THX!
__________________
HeartThrob Lingerie 4.0.18 Modz: ezcheckout | ezupsell | hiddencategories | multicategory_templates | multproduct_templates | pleasant_payment_details | rememberme | xnews |
|||||||
|
|||
X-Cart forums © 2001-2020
|