![]() |
Product Details Custom Text Area
Hello, how do I create a custom text area for products like "Detailed description"?
|
Re: Product Details Custom Text Area
Products already have short and long description fields. Long description shows on product details pages while short shows on products list pages
|
Re: Product Details Custom Text Area
Quote:
Right, but how do I create another custom one just like short and detailed fields? My main concern is how to create the database tables for it to make it work. |
Re: Product Details Custom Text Area
This will require database, php scripts and template files changes, its not just simple do this do that
|
Re: Product Details Custom Text Area
Quote:
Right, I think I can figure out the scripts but what do I do with the database? |
Re: Product Details Custom Text Area
You just add another field to the appropriate products table
|
Re: Product Details Custom Text Area
Quote:
How? What Table? |
Re: Product Details Custom Text Area
Use phpmyadmin to add another field, the table is probably xcart_products_lng_XX where XX is the language but adding it to one you will probably have to add it to all, this if you need it to show with different languages otherwise you can add it to xcart_products
Judging by the question though you probably want to get a professional to do it for you. Modifying the database without knowing what you are doing can damage it or lose all the info... and it is irreversible |
Re: Product Details Custom Text Area
I have a tutorial on this, or at least something very similar. Though as Steve suggests, best done by a pro. Look here http://forum.x-cart.com/showthread.php?t=62810 #6 Adding a custom variable to a product.
|
Re: Product Details Custom Text Area
Thank you Steve and Mike for your hints, I figured it out and surprisingly it works fine!
|
Re: Product Details Custom Text Area
Quote:
|
Re: Product Details Custom Text Area
Would Extra Fields do the job?
|
Re: Product Details Custom Text Area
If you don't need a textarea, or if you know of an easy way to use a textarea for extra fields.
|
Re: Product Details Custom Text Area
Customizing the existing Extra Fields to use textarea is far easier than building a new extra field system.
|
All times are GMT -8. The time now is 10:29 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.