Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Related Product to Related Size Chart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-28-2006, 10:37 PM
 
mbcummings mbcummings is offline
 

Member
  
Join Date: Feb 2006
Location: USA/N. Ca
Posts: 29
 

Default Related Product to Related Size Chart

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
Reply With Quote
  #2  
Old 08-29-2006, 02:43 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Related Product to Related Size Chart

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
Reply With Quote
  #3  
Old 08-29-2006, 08:23 AM
 
mbcummings mbcummings is offline
 

Member
  
Join Date: Feb 2006
Location: USA/N. Ca
Posts: 29
 

Default Re: Related Product to Related Size Chart

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
Reply With Quote
  #4  
Old 08-29-2006, 08:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Related Product to Related Size Chart

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
Reply With Quote
  #5  
Old 08-29-2006, 09:55 AM
 
mbcummings mbcummings is offline
 

Member
  
Join Date: Feb 2006
Location: USA/N. Ca
Posts: 29
 

Default Re: Related Product to Related Size Chart

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
Reply With Quote
  #6  
Old 08-29-2006, 10:03 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Related Product to Related Size Chart

*laugh* Feel free to send me big bucks
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 08-29-2006, 10:26 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: Related Product to Related Size Chart

Padraic and his Big Money -> http://www.telafirma.com/big_dollar.jpg
Reply With Quote
  #8  
Old 08-29-2006, 10:27 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Related Product to Related Size Chart

*rofl*
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 08-31-2006, 09:29 AM
 
mbcummings mbcummings is offline
 

Member
  
Join Date: Feb 2006
Location: USA/N. Ca
Posts: 29
 

Default Re: Related Product to Related Size Chart

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:59 PM.

   

 
X-Cart forums © 2001-2020