[Skip to main content](#vessel-content)

#   Google Merchant Center, Unpublished Products

##

- **[rayjbarrett](/forum/user/37128-rayjbarrett "View rayjbarrett's Profile")**
- [![rayjbarrett's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37128-rayjbarrett "View rayjbarrett's Profile") Topic Author
- [ Offline](/forum/user/37128-rayjbarrett)

Less More

- Posts: 13
- Thank you received: 0
-
-

3 years 10 months ago [\#347836](#347836) by [rayjbarrett](/forum/user/37128-rayjbarrett "View rayjbarrett's Profile")  *[Google Merchant Center, Unpublished Products](/forum/26-product-category-display/905600-google-merchant-center-unpublished-products#347836 "-- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : none  My Google Merchant Center account automatically pulls unpublished products to be listed on Google Products. How do I ensure that only published products are used by the Google Merchant Center?")* was created by *[rayjbarrett](/forum/user/37128-rayjbarrett "View rayjbarrett's Profile")*

-- PHP version -- : 7.3
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : none

My Google Merchant Center account automatically pulls unpublished products to be listed on Google Products. How do I ensure that only published products are used by the Google Merchant Center?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU2MDAtZ29vZ2xlLW1lcmNoYW50LWNlbnRlci11bnB1Ymxpc2hlZC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 10 months ago [\#347841](#347841) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Merchant Center, Unpublished Products](/forum/26-product-category-display/905600-google-merchant-center-unpublished-products#347841 "-- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : none  My Google Merchant Center account automatically pulls unpublished products to be listed on Google Products. How do I ensure that only published products are used by the Google Merchant Center?")*

Hi,

I suppose that you're talking about using the Google Products plugin in HikaShop to generate the XML file of the data of your products so that Google can retrieve that data to list your products.
I checked just to be sure but the plugin only takes into account the published products when generating the XML file.

Also, you need to be aware of this:
[ support.google.com/merchants/answer/188490?hl=en](https://support.google.com/merchants/answer/188490?hl=en)

Based on what is written there, when you unpublish a product in HikaShop, it will be removed from the XML next time the plugin is triggered, and Google won't see the product's data anymore in the XML, but it will only remove it from its listing 30 days after that point. And if you want it to be removed before this, you would have to manually delete it from the Google Merchant account as there is no mechanism in Google Merchant to "automatically delete product if not in the XML feed".

Also, as per this documentation page, an alternative to this would be to implement the expiration_date attribute in the plugin and that you first set the "sale end date" of the product a few days before you unpublish it so that it would be unlisted after the sale end date, and then removed completely from the account 30 days after being unpublished.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU2MDAtZ29vZ2xlLW1lcmNoYW50LWNlbnRlci11bnB1Ymxpc2hlZC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[wedevlops](/forum/user/74803-wedevlops "View wedevlops's Profile")**
- [![wedevlops's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/74803-wedevlops "View wedevlops's Profile")
- [ Offline](/forum/user/74803-wedevlops)

Less More

- Posts: 15
- Thank you received: 0
-
-

3 years 6 months ago [\#351618](#351618) by [wedevlops](/forum/user/74803-wedevlops "View wedevlops's Profile")  Replied by *[wedevlops](/forum/user/74803-wedevlops "View wedevlops's Profile")* on topic *[Google Merchant Center, Unpublished Products](/forum/26-product-category-display/905600-google-merchant-center-unpublished-products#351618 "-- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : none  My Google Merchant Center account automatically pulls unpublished products to be listed on Google Products. How do I ensure that only published products are used by the Google Merchant Center?")*

Hello,

I have a question here. I saw the plugin from Google Merchant for Hikashop and it says " This plugin enables you to get a Google Product feed" This means; we need to create a product at Google Merchant right?

My question is; is there another way around that Hika products display to Google merchants (the other way around) rather than getting Google products to feed to the website? The website will share or sync products to Google merch?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU2MDAtZ29vZ2xlLW1lcmNoYW50LWNlbnRlci11bnB1Ymxpc2hlZC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 6 months ago [\#351619](#351619) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Merchant Center, Unpublished Products](/forum/26-product-category-display/905600-google-merchant-center-unpublished-products#351619 "-- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : none  My Google Merchant Center account automatically pulls unpublished products to be listed on Google Products. How do I ensure that only published products are used by the Google Merchant Center?")*

Hi,

The plugin will generate a XML file of the data of the products you have in HikaShop. That XML file can then be imported manually or automatically to Google Merchant.
So no, you don't have to create the products in Google Merchant. The plugin is already working like you want.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU2MDAtZ29vZ2xlLW1lcmNoYW50LWNlbnRlci11bnB1Ymxpc2hlZC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[wedevlops](/forum/user/74803-wedevlops "View wedevlops's Profile")**
- [![wedevlops's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/74803-wedevlops "View wedevlops's Profile")
- [ Offline](/forum/user/74803-wedevlops)

Less More

- Posts: 15
- Thank you received: 0
-
-

3 years 6 months ago [\#351621](#351621) by [wedevlops](/forum/user/74803-wedevlops "View wedevlops's Profile")  Replied by *[wedevlops](/forum/user/74803-wedevlops "View wedevlops's Profile")* on topic *[Google Merchant Center, Unpublished Products](/forum/26-product-category-display/905600-google-merchant-center-unpublished-products#351621 "-- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : none  My Google Merchant Center account automatically pulls unpublished products to be listed on Google Products. How do I ensure that only published products are used by the Google Merchant Center?")*

To be honest, the title is very confusing " This plugin enables you to get a Google Product feed" - From what I understand to get the product from Google Merchant.

Local xml file path - This means the [ yourwebsite.com/sitemap.xml](https://yourwebsite.com/sitemap.xml) ? - am i correct?

Looking forward to clarification.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU2MDAtZ29vZ2xlLW1lcmNoYW50LWNlbnRlci11bnB1Ymxpc2hlZC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 6 months ago [\#351623](#351623) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Merchant Center, Unpublished Products](/forum/26-product-category-display/905600-google-merchant-center-unpublished-products#351623 "-- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : none  My Google Merchant Center account automatically pulls unpublished products to be listed on Google Products. How do I ensure that only published products are used by the Google Merchant Center?")*

Thanks for the feedback on the description of the plugin. We'll improve it to make it clearer.

In the local XML file path you need to write the path of the XML file you want.
For example, if you want to use the URL [ yourwebsite.com/sitemap.xml](https://yourwebsite.com/sitemap.xml) to access the XML, then you should enter sitemap.xml in that setting.
We'll improve this setting description to include that information.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU2MDAtZ29vZ2xlLW1lcmNoYW50LWNlbnRlci11bnB1Ymxpc2hlZC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.067 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
