Jump to content

add two column ps_feature_value_lang adn load


Recommended Posts

Hello idea is

Create custom fields to store data to fill in the field through the admin panel  plans. In product properties tab

 

 

such an idea

 

I appoint yellow The properties displayed on the main product page color yellow + two new properties (script) that is written by table ps

ps_feature_value_lang in the table as

NEWDATE_1

NEWDATE_2

 

1. Add the ability to establish and maintain these fields

2. Add the ability to display these fields on the product page.

 

 

 

 

two columns in the database should be added (where the data will be inserted)

Now by default only two columns

 

{Foreach from = $ features item = feature}

<Td> {$ feature.name | escape: 'html': 'UTF-8'} </ td>

<Td> {$ feature.value | escape: 'html': 'UTF-8'} </ td>

{/ Foreach}

 

add output

<Td> {$ feature.NEWDATE_1 | escape: 'html': 'UTF-8'} </ td>

<Td> {$ feature.NEWDATE_2 | escape: 'html': 'UTF-8'} </ td>

 

 

 

Idea

 

ps_feature_value_lang add columns to store

NEWDATE_1

NEWDATE_2

which will be stored scripts
Edited by Nikpro (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...