shipping_label add to product feed

  • Posts: 256
  • Thank you received: 2
3 years 4 months ago #334365

-- url of the page with the problem -- : www.restorationuk.com/
-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.27
-- PHP version -- : 7.4.20
-- Browser(s) name and version -- : CHrome

Hello, I have a product feed setup for Hikashop and I have used Google Merchants shipping feature to make the shipping rates appear alongside the products. However I have set rate of £5.00 for all my product except for a small few which are free delivery. Google is asking me to use the shipping_label attribute so I can differentiate between the 2 shipping methods.

How can I add the shipping_label attribute to the product feed xml file?

Thanks

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 4 months ago #334366

Hi,

There is no option for that in the current version of HikaShop.
However, that's a good idea to add and it's quite easy to add for us. I've made a patch for it.
Download again the install package of the latest version of HikaShop on our website and install it on yours and you'll get the extra option for it in your Google Products plugin.
We'll also add that properly for the next version so no worries for updates.

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

  • Posts: 256
  • Thank you received: 2
3 years 4 months ago #334389

Thankyou thats great I download the latest version and get it installed. :)

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

  • Posts: 256
  • Thank you received: 2
3 years 4 months ago #334488

Hello I have updated Hikashop and I can see the label now appearing in the Hikashop Product Feed plugin however it seems to assign the shipping_label to all products. Is there away to select which product the shipping label gets assigned too?

Thanks

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 4 months ago #334489

Hi,

Yes. The tooltip of the option explains what to do. You need to create a custom field of the table "product" and of the type "single dropdown" and enter all the possible labels in it. Then, in this new shipping label option, enter the column name of that custom product field.
And finally, in each product you'll be able to select the value you want for the shipping label in that custom product field and it will be in the XML generated by the Google Products plugin.

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

  • Posts: 256
  • Thank you received: 2
3 years 4 months ago #334529

Ha thankyou. I must have missed that. I will follow your instructions and hopefully get it working.

Thanks

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

Time to create page: 0.063 seconds
Powered by Kunena Forum