Google Products Plugin - Truncate Description

  • Posts: 68
  • Thank you received: 6
11 years 3 weeks ago #164881

-- HikaShop version -- : 2.3.2

Google Shopping is complaining my product descriptions are too long.
Unfortunately these descriptions do not contain a Readmore tag so I cannot use this option from the plugin.
Is there a code modification that would allow to systematically truncate the product description in the XML file to for example 255 characters?

Also, is there a documentation or an example showing how to use the new functionality to add shipping prices in the XML?

Thanks.
Max

PS: sorry I posted this in the wrong forum, please move the message if possible.

Last edit: 11 years 3 weeks ago by cbadmin. Reason: Posted in wrong forum!

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 weeks ago #164931

Hi,

To have a readmore button, you have to enable the plugin "Button - Readmore" it's a editor-xtd plugin type.
This way you willo be able to add the desired tag to truncate your descriptions.

Regarding the prices, have you read this documentation:
hikashop.com/support/documentation/integ...google-products.html

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

  • Posts: 68
  • Thank you received: 6
11 years 3 weeks ago #165029

Thanks I got all my products descriptions updated with a readmore tag, regenerated the XML, uploaded to Google Merchants.
It is not complaining anymore.

With regards to the documentation it does not mention the 2 new functionalities from version 2.3.2

The Google Products plugin now supports the "identifier exists" attribute of products
The Google Products (Merchant) plugin now supports shipping rules for products in the XML feed

Can we have an example how to use this?

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

  • Posts: 84220
  • Thank you received: 13671
  • MODERATOR
11 years 3 weeks ago #165049

Hi,

If you hover on the labels of these options in the plugin, you'll get the documentation explaining how to configure them.

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

  • Posts: 68
  • Thank you received: 6
11 years 3 weeks ago #165179

Great now I know how to configure the shipping, thanks.
Can I have a hint on what means Google Products plugin now supports the "identifier exists" attribute of products?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 weeks ago #165225

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

  • Posts: 10
  • Thank you received: 0
10 years 10 months ago #173272

how the "identifier exists" has to be create?

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
10 years 10 months ago #173343

Hi,

I am sorry but I don't understand your question.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 10
  • Thank you received: 0
10 years 10 months ago #173530

Hi, I mean where I can find the "identifier exists" for the google products plugin? There's not such setting option in the hikashop plugin.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #173590

Hi,

In the plugin settings you should find the parameter "Identifier exists" and all is explained in the description:

Identifier exists" description="Tells google if an identifier (brand, gtin, mpn) exists for your products (you can use either 'TURE' or 'FALSE' and no other value is allowed). If you enter here the column name of a custom product field, it will use the value of the custom field for each product allowing you to have a identifiers for some products and not for others.

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

  • Posts: 10
  • Thank you received: 0
10 years 10 months ago #173685

Thanks Xavier for the clear explanation,
I don't have that parameter setting in the plugin and i have the latest hikashop business 2.3.3
Any help to resolve this?

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #173687

Hi,

There was indeed a mistake in our plugin, thanks to edit the file "\plugins\hikashop\google_products\google_products.xml" and replace the second occurence of:

<param name="identifier_exists" type="text" size="50" default="" label="Identifier exists" description="Tells google if an identifier (brand, gtin, mpn) exists for your products (you can use either 'TURE' or 'FALSE' and no other value is allowed). If you enter here the column name of a custom product field, it will use the value of the custom field for each product allowing you to have a identifiers for some products and not for others." />
By:
<field name="identifier_exists" type="text" size="50" default="" label="Identifier exists" description="Tells google if an identifier (brand, gtin, mpn) exists for your products (you can use either 'TURE' or 'FALSE' and no other value is allowed). If you enter here the column name of a custom product field, it will use the value of the custom field for each product allowing you to have a identifiers for some products and not for others." />

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

  • Posts: 10
  • Thank you received: 0
10 years 10 months ago #173838

It works perfect now. Many thanks

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

Time to create page: 0.234 seconds
Powered by Kunena Forum