The Hikashop Google Products Plugin - is only take 2 products in the xml-file -

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 2 months ago #315636

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.15
-- PHP version -- : 7.3.13
-- Browser(s) name and version -- : firefox 73.0
-- Error-message(debug-mod must be tuned on) -- : none

Hi..
The Hikashop Google Products Plugin - is only take 2 products in the xml-file - i have 2 menu buttons, within 2 diferent kategories.

Hikashop Google Products Plugin - have tryed to move some products to the same kategory, but it doesent show...
I have around 75 products, that shoud be exportet to the xml-file .

I have opened a new ticket... and the settings in the plugin, is attached here..

Regards...

Attachments:

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 2 months ago #315637

The CRON is sat up, and running..
The file is genered, and the file is only within 2 products.

I have read this.. but nothing seems to do the trick.
www.hikashop.com/21-documentation/hikash...google-products.html

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315655

Hi,

Since you have the "in stock products only" option activated, you'll only get the products with stock.
Also, the products need to have a price. And if you have user access restrictions on the prices, note that if you generate the XML from the backend, the user groups of your user needs to be added to the access level setting of the prices so that they can be loaded. Otherwise, the plugin won't see the prices and thus will skip the products.

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 2 months ago #315663

Hmm...
Running falang too... ??

Since you have the "in stock products only" option activated, you'll only get the products with stock.

A: Yes. seems right :-)

Also, the products need to have a price.

A: Yep...

And if you have user access restrictions on the prices

A: Nope, all public.

note that if you generate the XML from the backend, the user groups of your user needs to be added to the access level setting of the prices so that they can be loaded. </quote]
A: Yes. that coud do it, but the new XML-File isgeneratd (new timestamp :-) )

Otherwise, the plugin won't see the prices and thus will skip the products.

A: But - It has a price..

See the atachment, of a product.
It has 2 categories, shoudent be that, i regend...

It´s wiered :-/

Regards..

Attachments:
Last edit: 4 years 2 months ago by Mohamed Thelji. Reason: Added quote tags

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 2 months ago #315664

UPS. had to say.

The diferences between shose 2 - categories, is that all that doesent show up in the exportet-XMLfile, is imported by a CSV-File

Had to say...

/Regards

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315667

Hi,

Then what I can think of is that you don't have "all" in the "product_access" column of your CSV or you don't have "main" in the "product_type" column of your CSV. Because of that the products are not found.
Please check that.

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 2 months ago #315719

Hi
The XML-File is generated from hikashop, from the Plugin 'Hikashop Google Products Plugin' -
- When the cron activates, or the url is pressed...

If something missing in that file, - is that hikashop doesnet have these ?tags? in the file, is that hikashop doesnet write them in the file, from the plugin options. The xml-file doesent have thise words "all" / "main" / "product_type"
- But the google merchant center, have the 2 products, and seems fine :-) but only these 2... ???

And - the difference is - why is there only 2 products in the xml-file - and not all of the products ?

I cant regend why only 2 products, from same category, is in the xml-file - what about all the other products..

I cant see the diferences ??

I´m beeing a little confused, så please help me..

/Regards

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315753

Hi,

You said that in the XML generated by the plugin, you only found the products that you created manually via the interface in the backend and that the other products were imported with a CSV file.
So I'm telling you that in this case, it means that in this CSV file, you don't have "all" in the "product_access" column or you don't have "main" in the "product_type" column.
So you need to look at your CSV file you're using for the import when looking for these, not in the XML file generated by the plugin.

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 2 months ago #315973

Hi.
I have now a closed ticket fron fabofa/falang, and they´r quite sure about, that the plugin 'Hikashop Google Products Plugin' not have the value to choose lang??
Coud it be a hint ??

What can I do to go on...??

Regards.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 2 months ago #315991

Hi,

Why do you think it would be linked to falang ? or languages ? Did you restrict your products to some languages only ? If so, how did you do that ?

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 1 month ago #316683

I realy dont know anymore. I just have a multi lang site, that doesent work, within google shopping.
the automated generated xml file, is neraly empty, and in the hikashop plugin - "Hikashop Google Products Plugin" doesenet have an option, to choose language? and falang option, is missing in this plugin.?

Neither falang/faboba or hikashop seems to have any problem.. but i have.!!!

If someone shoud have the opportunities to login, to see wtf is going on, your welcome..

or skype fore that matter...

Regards.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 1 month ago #316684

Hi,

We can have a look yes. Please provide a backend and a FTP access along with a link to this thread via our contact form:
www.hikashop.com/support/contact-us.html
Also, if you could provide a PHPMyAdmin access, that would be great so that we can check the data of your products in the database in case it comes from there.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 3 weeks ago #316927

Hi,

I checked on the situation with the access you provided.
There were two issues I found on your backend:
- the categories were not all under the main product category. Some were directly under the Root category, which should not happens. I've fixed that in the database for you.
- some of your categories were disabled. I've enabled them for you.
The XML now contains all your products.
Please check.

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 2 weeks ago #317275

Hi again.

Thanks for the help, i had not seen that... :-)
Again thanks :-)

But i dittent knew that i doesn't may have some products in 'root' - i gessed that it doesent matter ? (why not)

It seems that i doesent have any danish products in the xml-file. - maybe there shoud be 2 different files. One for the danish language, and one for the english language?
-or just one, within both the danish and english products.. ??

I'll mis he danish products.

Regards...

Last edit: 4 years 2 weeks ago by nmouse.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 2 weeks ago #317284

Hi,

It's not the products that were in "Root". It's the categories that were not at the correct location.

If you're still missing some products please provide an example of a missing product with its reference so that we can check the situation for that product.

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 3 days ago #317848

Hi again...

Oh i must have missed that... about the categories not in the correct location.

YES.. i´m glad, there are all of the english products, its nice :-)

Bu all the products in danish, it dont place the products in the XML-file..

I use falang, and only the english products works, in the XML-File.

BUT the site / Shop works with both the danish products in falang, and in the english products.
- But not in the XML-File...

What can i try ?

Regards.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 3 days ago #317859

Hi,

You mean that you want to include twice the products in the XML, once for the English translations and once for the Danish translations ?
That's not possible. You can only have one entry for one product.
Regarding the language of the text used, it actually depends on the current language and where you're doing the export from.
If you're using the download link in the backend, then Falang doesn't work in the backend, so you'll always only get the products with their default texts (the texts you enter in the normal interface, and not the texts from the flag popups).
If you're using the cron to automatically export the XML, then the cron works from the frontend and Falang will be loaded. So it's possible to change the language you want by adding a "lang" parameter to the cron URL. But again, you can't have both.

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
4 years 1 day ago #317984

I have read your text 2 times now, and i´m a little confused..
what if another have more than 2 diferent languages, and falang?
Is it then not posible to get more that one XML-File for just one language?

What can i do to get both in the same XML-File?

OR shoud it be falang, that shoud have a extra menus to dot he same, - just to chose whitch language I want.

Ass is see it now, i have to have 2 diferent sites, one with english tekst, and english products. AND one sites within danish tekst and danish products.??

Gush... i dont have more that 2 languages..

I hope you can see my problems.

(Im using CRON to get the XML-File)

Regards.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 1 day ago #317996

Hi,

1. With a bit of tinkering of the URLs and several cron passes, renaming the XML file in between, it would be technically possible to export a XML file for each language.

2. To get both in the same XML, it would require :
- to not use the download link from the backend as Falang is not loaded there.
- to modify heavily the code of the plugin to load the products data twice, and switch the current language in between.

3. Note that even if you do that, I'm afraid Google products will refuse your XML as it will see duplicate products in it.
From what I can read online, you need one XML per language.
So for example, to get the XML feed in another language you can:
- change the name of the XML in the settings of the plugin
- get the URL from the "cron" tab of the HikaShop configuration
- set the delay of the cron to 1 second
- set the period setting of the plugin to 1
- add to the URL form the cron tab the parameter &lang=XX where XX is the two letter lowercase code of the other language
- call that URL in your browser
- then revert the changes in the cron setting and plugin settings.
That will generate the new XML file for your other language. So you'll be able to submit both XML files.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum