Hikashop Google Products Plugin - GTIN Not being written into feed

  • Posts: 41
  • Thank you received: 4
3 years 5 months ago #333176

Hi,

I've updated my hikashop today to a business version and everything went perfectly until I got tot the google products plugin.

I am trying to get it to write my GTIN to the google feed xml, and it refuses to write it.

I have set up the column to have the same name as the reference in the plugin settings as you can see:





I believe that I have set up the custom field correctly:


and have filled out the custom fields on each product



however it still will not write to the xml file..

I have also set up the "Identifier exists" custom field with absolutely no issue and that gets written to the xml, I don't understand why the GTIN field will not.

Last edit: 3 years 5 months ago by jasmine247. Reason: deleted content due to repost, then my repost was deleted so i re edited

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 5 months ago #333179

Hi,

Please note that the GTIN will only be added to the XML if the "identifier exists" is added to the XML with the value "TRUE".
I suppose that your last screenshot displays the GTIN and the "identifier exists" values of each product next to one another on the products listing. And in that case I can see that you have "true" as value, not "TRUE" and in that case, it won't consider it as "TRUE".
So please modify the gident custom field to use uppercase for the value of the values.
Note that this means that you'll also have to edit each product to resave them with the correct value (or use an action or mass action to modify the value in the gident custom field for all of them at once.
www.hikashop.com/support/documentation/167-massaction-form.html

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

  • Posts: 41
  • Thank you received: 4
3 years 5 months ago #333203

Hi!

That sorted it! Cheers! I Had it set to capitalised originally but when I put the xml onto google it was kicking an error saying that it was invalid and the only valid formats were "true" "false" and "yes" "no", so I changed it without even thinking about it.

Really appreciate the help, thank you!

I do have another couple of issues that I have noticed after my update to the business edition, now that it has been a few days.

When I go onto a product page the default quantity is blank



I've tried setting the "Quantity Per Order" to 1 instead of 0 and it remains blank even for those products.



As well as the cart not updating when I add a product until I refresh the page.



I've tried setting the "Quantity Per Order" to 1 instead of 0 and it remains blank for those products.

Just wondering if these issues are something simple that I'm missing before I go changing the the Display>View part of the store.

Cheers

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 5 months ago #333217

Hi,

1. The quantity input field being blank is likely linked to your template CSS. It must add some padding to input fields, which leads to not enough space to display the text in the input as it doesn't have enough width.
We would need the URL of the page to look into the CSS to tell you what to do exactly.
You should have had that issues regardless of your edition or version of HikaShop.

2. For the cart module not being refreshed, it's hard to say for sure. It could come from several things:
- a javascript error on the page, preventing the module from loading properly
- a customiation of the cart module based on an old version of the cart module (old template made for HikaShop for example)
- a caching issue with the module
Again, we would need the URL of the page to looking into it deeper.

3. The minimum value of "Quantity Per Order" being 0 or 1 in the product won't change anything since, either way, HikaShop will understand it as 1.

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

  • Posts: 41
  • Thank you received: 4
3 years 5 months ago #333267

Hey,

sewingmachinesuk.uk/

That is the link to the website.

I've managed to fix the quantity issue (I'm not actually entirely sure what did it I'm afraid, sorry for anyone who has the same issue), I'm just left with the cart not updating, which is the more stubborn task.

Even If I change setting in the Hika cart module nothing changes

(E.g if I set the cart to hidden when empty, it remains on the page.)



I really do appreciate all the help you've given me so far! Couldn't ask for more, honestly.

Thanks!

Attachments:

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

  • Posts: 41
  • Thank you received: 4
3 years 5 months ago #333272

Hey!

I have fixed my cart issue too now! The problem was that the module was being overwritten by a custom "cart.php" In my template which I presume was outdated in some way, just renaming this has fixed it and allowed me to use the setting in the hikashop cart module.

I just have to somehow change the way the Proceeded to checkout button looks now as its white on white, but I presume I have to do that somewhere in my template.

Thanks very much for the help! I've only just picked up this website from the last person who was working on it, so I'm just figuring out all the quirks!

Thanks!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 5 months ago #333274

Hi,

Yes, this white on white issue comes from the CSS of the template which forces the color of the text of links in the top part to white as the phone numbers and email links there are on a dark grey background.
You can fix that with a bit of CSS:

.hikashop_cart_dropdown_content a {
    color: #fa4646 !important;
}
www.hikashop.com/support/documentation/1...ize-the-display.html

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

Time to create page: 0.097 seconds
Powered by Kunena Forum