| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding multiple new properties to a product trouble | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am following the "Add a New Property to a Product" instructions and am having a little trouble adding multiple properties in X-Cart 5.4. Adding a single property works fine, but adding multiple properties is making the product description, name, images, and category disappear from the back and front end while displaying all the new properties.
My code for decorating viewer class: Code:
Instructions code for decorating viewer class: Code:
Any help will be most appreciated.
__________________
X-Cart Business 5.4 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Code:
You are overriding $schema with your custom line. You should be adding to it your new fields whether you want them to show
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thank you. Could you elaborate on how to do that?
__________________
X-Cart Business 5.4 |
|||||||
#4
|
|||||||
|
|||||||
![]() Would I just add each separately like this:
Code:
etc.
__________________
X-Cart Business 5.4 |
|||||||
#6
|
|||||||
|
|||||||
![]() Thank you. I appreciate the assistance.
__________________
X-Cart Business 5.4 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|