View Single Post
  #156  
Old 02-21-2013, 09:31 PM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: common if/then modifications I make to x-cart...

hello I want {if} {else} statement for following customization.

In the customer invoice just after product name I want to display manufacturer name: {product Name} by {manufacturer}

Also in above if product has got thumbnail then I want to display simple "." (DOT) after {manufacturer}, (This is just for internal purpose so that I can see which products doesn't have images)

So following will be logic for products with manufacturer & thumbnail
Code:
{product Name} by {manufacturer} {.}

And following will be logic for products with manufacturer WITHOUT thumbnail
Code:
{product Name} by {manufacturer}

I guess it should be real simple to achieve with proper variable & if/else statement.

Note: I am looking this for 4.5.4...can one help me on this ?
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote