Zen Cart Logo
Forums / Basic Configuration / Setup max. characters for product description (not for product name)

Setup max. characters for product description (not for product name)

Views: 966

Results 1 to 4 of 4
15 Sep 2011, 9:42 PM
#1
genat1974 avatar

genat1974

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Setup max. characters for product description (not for product name)

Hello,
I have a problem with adding large code into product description. When number of characters (i guess) grow up the limit its truncate the code + change layout of the page (search box relocating to the button of the page). So i guess the problem is in the number of characters that aloud by zencart? Here is a link to the site:

http://www.modern1furniture.com/modern-wall-unit-multi-comp-1-p-4886.html

16 Sep 2011, 12:26 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Setup max. characters for product description (not for product name)

Wow! Embedding a table with eleven other complete product info pages each including attributes into the description field of one product? Perhaps you should consider the code changes to allow attributes in the product listing, and make the multi-unit combo a subcategory, with the whole combo one product and individual units other products. The required code has been discussed in the forum.

16 Sep 2011, 6:04 PM
#3
genat1974 avatar

genat1974

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: Setup max. characters for product description (not for product name)

Hi gjh42,
Thank you for reply... Please count the fact that i am not a programmer... I just trying to make my site work the way my customers want it.... By the way code works perfectly, add to cart, attributes all works...
Now, can you explain in sample words what am i doing wrong... Count i am not professional... or if you can point me to the forum where similar problem was discussed already....
Thank you!

16 Sep 2011, 6:59 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Setup max. characters for product description (not for product name)

Product info pages are designed to stand alone, not be nested inside other info pages. This causes HTML/CSS errors, which might not interfere with your site's functioning, but are never good to have - they can interfere with search engines indexing your site, for one thing.
Validating your site shows 183 HTML errors. Most of these are relatively minor, but they add up, and many of them are caused by this nesting creating duplicate CSS id's.

The page you reference actually does not work correctly (or at least consistently); if you add the main product to the cart, it adds one of the first element instead (at least, after one element has already been added; I didn't add the main product first). Also, there is no indication of which items have been selected unless you go to look at the cart page.

Do you want the customer to choose extra elements beyond the multi set, or choose elements without necessarily buying the multi set? Various setups are possible depending on your organizational desires.
I think you would be better served by setting up attributes for the elements so they can be selected and deselected visibly before one "add" action puts them all in the cart. You can go back from the cart and edit selections if you want to.
If you want the multi set to be optional, put that in as an attribute and make the product "priced by attributes".