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
  #11  
Old 04-16-2009, 01:13 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 carpeperdiem
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

I cleaned chache and nothing changes. I think it is not product.tpl file. I will be very happy who can help me and i am ready to pay for this help, because i very need it.
__________________
My version 4.1.11
Reply With Quote
  #12  
Old 04-16-2009, 04:59 AM
  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?

I can assure you that this
Code:
<span class="Text">The text that will be the same here<br />{$product.descr}</span>
works.
Where do you want to see the additional text - on individual product page or the category/subcategory products list page? They use different tpl files.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #13  
Old 04-16-2009, 06:25 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
I can assure you that this
Code:
<span class="Text">The text that will be the same here<br />{$product.descr}</span>
works.
Where do you want to see the additional text - on individual product page or the category/subcategory products list page? They use different tpl files.

I need to see additional text on each individual product. What will i do?

I done it: <span class="Text">The text that will be the same here<br />{$product.descr}</span>

And i can't see anywhere this text...
__________________
My version 4.1.11
Reply With Quote
  #14  
Old 04-16-2009, 07:42 AM
 
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?

The correct template is customer/main/product.tpl, not main/product.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #15  
Old 04-16-2009, 08:43 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 balinor
The correct template is customer/main/product.tpl, not main/product.tpl

Thank you very much for correct template (I am searching for this 3 days). I am not PHP Programer and i made 1 mistake. http://www.vulcan.lt/product.php?productid=16383&cat=0&page=1 - Here you can see that percentage is not in good position. Can you help me to solve this problem? I atached file, maybe you will write the palce, where will be additional text after descrition also. Thank you!!
Attached Files
File Type: doc Code.doc (54.5 KB, 223 views)
__________________
My version 4.1.11
Reply With Quote
  #16  
Old 04-16-2009, 09:01 AM
 
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?

You don't need to know PHP, it is all html/css. You should really read this thread:

http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 03:44 AM.

   

 
X-Cart forums © 2001-2020