Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

I need a large Extra Field

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-06-2013, 04:10 AM
  johngwms's Avatar 
johngwms johngwms is offline
 

Senior Member
  
Join Date: Mar 2013
Location: North Wales
Posts: 191
 

Default I need a large Extra Field

I need to store a large amount of html formatted text (>255 chars) in an Extra Field for each product.

This could contain Specification tables etc.

I understand that I need to charge the type of the underlying MySQL field to text?.

Do I need to make any other changes to the Extra Field modules etc?

Perhaps I should keep the html formatted text in a separate file and import it when it needs to be displayed?

I would appreciate an expert's advice.
__________________
John Legg
www.TheDebugStore.com

5.4.1.18 Business, Crisp White Skin Template
Backorder-Preorder Module
X-Cart to Zoho Creator (in progress)
Zoho Creator <-> Zoho Inventory for order processing
NGINX hosted - XC virtual server
Reply With Quote
  #2  
Old 06-06-2013, 06:43 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: I need a large Extra Field

You can find a few solutions searching inside the Forum. We talked in the past about this. Normally altering DB->Table for that field will do the job.
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote
  #3  
Old 06-12-2013, 07:33 AM
 
joeid joeid is offline
 

Member
  
Join Date: Mar 2009
Location: Hungary
Posts: 11
 

Default Re: I need a large Extra Field

Quote:
Originally Posted by ADDISON
You can find a few solutions searching inside the Forum. We talked in the past about this. Normally altering DB->Table for that field will do the job.

Dear ADDISON !

I have same problem...and I was looking solution on forum and I found "Alter table, change primary key " etc. ...but how ?

Not everyone is a programmer...

THX
__________________
X-Cart 4.6.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 10:08 AM.

   

 
X-Cart forums © 2001-2020