Post by Spapro » Tue Apr 11, 2017 7:25 pm

Hello,

Recently we upgraded from Opencart 1.5 to v2.3.0.2 and have noticed something a bit odd with the 'layout column' with Exported products out of our store into excel.

Basically if I export all products from our store into excel (using the export/import tool v3 from MHCCorp) then in the Layout column most products have this field just blank in the excel spreadsheet, some products have an '0:' entered in the field in the excel sheet.

It appears that editting a product in our store admin panel results in that product then having the '0:' entry in the layout column after another export out to excel.

Not sure if its related but we are also getting the following errors a few times a day in the error log:
2017-04-10 10:13:10 - PHP Notice: Undefined index: description in /home/ourcompany/public_html/catalog/model/catalog/product.php on line 13
2017-04-10 10:13:10 - PHP Notice: Undefined index: description in /home/ourcompany/public_html/catalog/model/catalog/product.php on line 15
2017-04-10 11:32:14 - PHP Notice: Undefined index: description in /home/ourcompany/public_html/catalog/model/catalog/product.php on line 13
2017-04-10 11:32:14 - PHP Notice: Undefined index: description in /home/ourcompany/public_html/catalog/model/catalog/product.php on line 15

Should I enter 0: in the layout column for all products in excel and import that file back into our store ?
Are the above issues linked or are the php errors something else ?

We are using the default Opencart 2.3 theme with some custom modding tweaks.

New member

Posts

Joined
Wed Dec 12, 2012 4:36 am

Post by JNeuhoff » Tue Apr 11, 2017 9:50 pm

There is no need to enter the '0:' value in the layout column. The format of the layout column value is a comma separated list:

store-id-0:layout-name,....,store-id-n:layout-name

where store-id-0 usually is 0 for the default store, and layout-name is a name of a product or category layout override.

If layout name is blank, or if the whole field is blank, then no layout override is used for the product.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Spapro » Tue Apr 11, 2017 10:44 pm

Thanks for the response, all my products have a blank entry in layout field in the spreadsheet until I edit the product in my store, then that product has 0: in the layout field in the spreadsheet when next exported.

Is that normal ?

New member

Posts

Joined
Wed Dec 12, 2012 4:36 am
Who is online

Users browsing this forum: Amazon [Bot] and 7 guests