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

How to do AUTO description for each product?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-14-2009, 11:56 AM
 
Sarunaz Sarunaz is offline
 

Newbie
  
Join Date: Jan 2009
Posts: 8
 

Arrow How to do AUTO description for each product?

How to do AUTO description for each product? i mean manual(I will write for each product) + auto(It will be shown for each my added product)
__________________
My version 4.1.11
Reply With Quote
  #2  
Old 04-14-2009, 03:43 PM
 
balinor balinor is offline
 

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

Default Re: How to do AUTO description for each product?

Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:

http://forum.x-cart.com/showthread.php?t=23970

Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly. Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-14-2009, 06:47 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to do AUTO description for each product?

Quote:
Originally Posted by Sarunaz
How to do AUTO description for each product? i mean manual(I will write for each product) + auto(It will be shown for each my added product)

If by auto you mean something that will show before or after each product description and be the same for every product just add it before or after the product description call in product.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 04-15-2009, 11:38 AM
 
Sarunaz Sarunaz is offline
 

Newbie
  
Join Date: Jan 2009
Posts: 8
 

Default Re: How to do AUTO description for each product?

Quote:
Originally Posted by cflsystems
If by auto you mean something that will show before or after each product description and be the same for every product just add it before or after the product description call in product.tpl

Sorry, but it doesn't works. I found main/product.tpl file. I opened this file and i found description place:

<td colspan="2">
<br />
<br />
<span class="Text">{$product.descr}</span>
<br />
<br />
</td>
</tr>
<tr>

I tried a lot of combinations, but NO ANY TEXT in description. Who can help? Thank you!
__________________
My version 4.1.11
Reply With Quote
  #5  
Old 04-15-2009, 12:14 PM
 
Sarunaz Sarunaz is offline
 

Newbie
  
Join Date: Jan 2009
Posts: 8
 

Default Re: How to do AUTO description for each product?

I tried to delete all from main/product.tpl file and nothing changes. It is really not this file. Waiting for help.
__________________
My version 4.1.11
Reply With Quote
  #6  
Old 04-15-2009, 12:45 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to do AUTO description for each product?

the first thing you need to do is update your signature with the correct version of x-cart, since answer can vary between x-cart versions.
__________________
xcart 5.1.2
Reply With Quote
  #7  
Old 04-15-2009, 03:27 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to do AUTO description for each product?

Quote:
the first thing you need to do is update your signature with the correct version of x-cart, since answer can vary between x-cart versions.

Second try this
Code:
<td colspan="2"> <br /> <br /> <span class="Text">The text that will be the same here<br />{$product.descr}</span> <br /> <br /> </td> </tr> <tr>

Also you probably have to clear your cache after every tpl change you do
www.yoursite.com/cleanup.php
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #8  
Old 04-15-2009, 08:02 PM
 
Sarunaz Sarunaz is offline
 

Newbie
  
Join Date: Jan 2009
Posts: 8
 

Default Re: How to do AUTO description for each product?

Quote:
Originally Posted by cflsystems
Second try this
Code:
<td colspan="2"> <br /> <br /> <span class="Text">The text that will be the same here<br />{$product.descr}</span> <br /> <br /> </td> </tr> <tr>

Also you probably have to clear your cache after every tpl change you do
www.yoursite.com/cleanup.php

I tried this <span class="Text">The text that will be the same here<br />{$product.descr}</span> and nothing. Where i can find cleanup.php file? Thanks.
__________________
My version 4.1.11
Reply With Quote
  #9  
Old 04-15-2009, 08:03 PM
 
Sarunaz Sarunaz is offline
 

Newbie
  
Join Date: Jan 2009
Posts: 8
 

Default Re: How to do AUTO description for each product?

Quote:
Originally Posted by Ashley
the first thing you need to do is update your signature with the correct version of x-cart, since answer can vary between x-cart versions.

My version is 4.1.11. Can you help me? Or maybe it is impossible on this version to do it?
__________________
My version 4.1.11
Reply With Quote
  #10  
Old 04-15-2009, 08:25 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: How to do AUTO description for each product?

Quote:
Originally Posted by Sarunaz
My version is 4.1.11. Can you help me? Or maybe it is impossible on this version to do it?

Let's try this again.

1. To update your signature, use this link:

http://forum.x-cart.com/profile.php?do=editsignature

2. cleanup.php should be run as a URL, such as:

http://www.YOURSITE.com/cleanup.php

You can also cleanup from the admin:

https://www.YOURSITE.com/admin/tools.php#cleartmp

-- both URLs assume your site is installed at root - if you have a directory in the way, then the path would be

https://www.YOURSITE.com/nameofxcartdirectory/admin/tools.php#cleartmp
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:29 PM.

   

 
X-Cart forums © 2001-2020