Skip to main content

Google Products Plugin - Truncate Description

More
12 years 2 months ago - 12 years 2 months ago #164881 by cbadmin
-- 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: 12 years 2 months ago by cbadmin. Reason: Posted in wrong forum!

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

More
12 years 2 months ago #164931 by Xavier
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.

More
12 years 2 months ago #165029 by cbadmin
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.

More
12 years 2 months ago #165049 by nicolas
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.

More
12 years 2 months ago #165179 by cbadmin
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.

More
More
12 years 1 week ago #173272 by etsa14yr
how the "identifier exists" has to be create?

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

More
12 years 6 days ago #173343 by Jerome
Hi,

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

Regards,

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

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

More
12 years 4 days ago #173530 by etsa14yr
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.

More
12 years 3 days ago #173590 by Xavier
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.

More
12 years 3 days ago #173685 by etsa14yr
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?

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

More
12 years 2 days ago #173687 by Xavier
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:
Code:
<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:
Code:
<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.

More
12 years 2 days ago #173838 by etsa14yr
It works perfect now. Many thanks

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

Time to create page: 0.292 seconds
Powered by Kunena Forum