Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-26-2021 18:59:08

Graham
Member
Registered: 09-30-2004
Posts: 981
Website

Increase the length of product Tab names

Currently in Store/ Catalog/ Product Offers when you select a product, you can define Tabs which can be expanded to show extra information.

The field eg Tab 1: Name has a maximum length of 20 characters.

I've edited core.columdefs / cnumeric for all of the following to change them from 20 characters to 30 characters to allow longer names for product tabs:

ecom_prod.tabonename
ecom_prod.tabtwoname
ecom_prod.tabthreename
ecom_prod.tabfourname

However even though I can now put 30 characters into Tab 1: Name, the Tab, as displayed on the Product's page on my website, still truncates at 20 characters.

What do I need to change to get it to display the 30 characters I want?

Last edited by Graham (03-26-2021 19:00:02)

Offline

 

#2 03-29-2021 10:09:39

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Increase the length of product Tab names

In addition to the core_columndefs change, ie:

UPDATE core_columndefs SET cnumeric='30' WHERE' cid='ecom_prod.tabonename'

(And similar statements for the other three)

Execute this raw sql statement using Raw DB Admin / Execute Raw SQL Statement:

ALTER TABLE ecom_prod CHANGE COLUMN tabonename tabonename VARCHAR(30) DEFAULT ''

(And similar statements for the other three)


Nick Hendler

Offline

 

#3 03-30-2021 04:27:07

Graham
Member
Registered: 09-30-2004
Posts: 981
Website

Re: Increase the length of product Tab names

That worked, thanks.

Offline

 

Board footer