Jump to content

Custom field for attributes


frevda

Recommended Posts

Hi all,

 

I'm trying to add a custom field to product combination attributes.

 

The first part was adding a new column ('add_info') to the database (table 'ps_product_attribute') and change AdminProducts.php, ProductController.php and Product.php a bit.

This part works and the value of the additional field is going correctly into the database. So now i can modify the 'Add info' field in the BO.

 

But now i'm trying to modify Product.tpl to show the additional field on the product page.

This is were i am stuck.

 

I think i have to modify Product.tpl but i don't see how. Am i missing another file to customize?

 

Can anyone pls put me in the right direction?

 

Tx!

Link to comment
Share on other sites

  • 1 year later...

Hi all,

 

I'm trying to add a custom field to product combination attributes.

 

The first part was adding a new column ('add_info') to the database (table 'ps_product_attribute') and change AdminProducts.php, ProductController.php and Product.php a bit.

This part works and the value of the additional field is going correctly into the database. So now i can modify the 'Add info' field in the BO.

 

But now i'm trying to modify Product.tpl to show the additional field on the product page.

This is were i am stuck.

 

I think i have to modify Product.tpl but i don't see how. Am i missing another file to customize?

 

Can anyone pls put me in the right direction?

 

Tx!

 

 

 

EVEN I AM GETTING THE SAME PROBLEM AS YOU... BUT THE WORST PAST IS I AM NOT ABLE TO INSERT INTO DATABASE AS YOU ..

 

 

SO CAN YOU PLEASE TEL ME WHAT ALL STEPS YOU DID IN adminProducts.php, ProductController.php and Product.php.

 

PLEASE REVERT ME BACK !!!

Link to comment
Share on other sites

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...