| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product Details Custom Text Area | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Product Details Custom Text Area
Hello, how do I create a custom text area for products like "Detailed description"?
__________________
X-Cart version 4.5.5 |
|||||||||
#2
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
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.
__________________
X-Cart version 4.5.5 |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Product Details Custom Text Area
This will require database, php scripts and template files changes, its not just simple do this do that
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Product Details Custom Text Area
Quote:
Right, I think I can figure out the scripts but what do I do with the database?
__________________
X-Cart version 4.5.5 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Product Details Custom Text Area
You just add another field to the appropriate products table
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Product Details Custom Text Area
Quote:
How? What Table?
__________________
X-Cart version 4.5.5 |
|||||||||
#8
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#9
|
|||||||||
|
|||||||||
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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#10
|
|||||||||
|
|||||||||
Re: Product Details Custom Text Area
Thank you Steve and Mike for your hints, I figured it out and surprisingly it works fine!
__________________
X-Cart version 4.5.5 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|