Skip to main content

Google products XML feed issue after update

More
7 years 1 month ago - 7 years 1 month ago #310462 by Lumiga
-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.3

Hi Hikashopteam,

Before update to 4.2.0 the xml export with GTIN code went fine.
If there was no GTIN code we have to set a FALSE value to the identifier-exist field and the xml didn't export a GTIN field.

But now after the update, the xml feed export the custom field name for the GTIN code if there is no GTIN code present in the product.

Hope you can fix this.

Kind regards,
Lumiga



Here you can see our configuration.






Kind regards,
Lumiga
Last edit: 7 years 1 month ago by Lumiga.

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #310509 by nicolas
Hi,

Add the code:
Code:
$column = @$plugin->params['identifier_exists']; if(!empty($column) && ($column == 'TRUE' || (!empty($product->$column) && $product->$column == 'TRUE')))
before the line:
Code:
$xml .= $this->_additionalParameter($product,$plugin,'gtin','gtin');
in the file plugins/hikashop/google_products/google_products.php
and it should help.
The following user(s) said Thank You: Lumiga

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #311013 by Lumiga
Thanks!

Are you going to add this code also in the new update?

Kind regards,
Lumiga

Kind regards,
Lumiga

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #311015 by nicolas
The following user(s) said Thank You: Lumiga

Please Log in or Create an account to join the conversation.

Time to create page: 0.179 seconds
Powered by Kunena Forum