![]() |
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)
|
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! :) |
Re: How to do AUTO description for each product?
Quote:
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 |
Re: How to do AUTO description for each product?
Quote:
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! |
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.
|
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.
|
Re: How to do AUTO description for each product?
Quote:
Second try this Code:
<td colspan="2"> Also you probably have to clear your cache after every tpl change you do www.yoursite.com/cleanup.php |
Re: How to do AUTO description for each product?
Quote:
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. |
Re: How to do AUTO description for each product?
Quote:
My version is 4.1.11. Can you help me? Or maybe it is impossible on this version to do it? |
Re: How to do AUTO description for each product?
Quote:
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 |
Re: How to do AUTO description for each product?
Quote:
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. |
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> 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. |
Re: How to do AUTO description for each product?
Quote:
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... |
Re: How to do AUTO description for each product?
The correct template is customer/main/product.tpl, not main/product.tpl
|
Re: How to do AUTO description for each product?
1 Attachment(s)
Quote:
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!! |
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 |
All times are GMT -8. The time now is 10:44 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.