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

#   Google products xml

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

3 years 3 months ago [\#354578](#354578) by [DentalSpace](/forum/user/77832-dentalspace "View DentalSpace's Profile")  *[Google products xml](/forum/4-how-to/906911-google-products-xml#354578 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.3 -- PHP version -- : 8.1.20  Is it possible to hide &quot;QantitY&quot; column from the XML output by hikashop Google products plugin?")* was created by *[DentalSpace](/forum/user/77832-dentalspace "View DentalSpace's Profile")*

-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.3
-- PHP version -- : 8.1.20

Is it possible to hide "QantitY" column from the XML output by hikashop Google products plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkwNjkxMS1nb29nbGUtcHJvZHVjdHMteG1sP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

3 years 3 months ago [\#354581](#354581) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google products xml](/forum/4-how-to/906911-google-products-xml#354581 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.3 -- PHP version -- : 8.1.20  Is it possible to hide &quot;QantitY&quot; column from the XML output by hikashop Google products plugin?")*

Hi,

If you set the quantity to unlimited in your products, the quantity will be removed in the XML file automatically.

Now, if you want to provide no quantity in the XML file while still having a quantity in HikaShop, you could either:
- if you run the plugin manually to retrieve the XML file before uploading it you Google, you could open the XML with notepad++ and run a search and replace regex to remove the tag for all the products.
- if you run the plugin automatically with a cron, you'll have to remove the code: Code:

if($product-&gt;product_quantity != -1){ $xml .= "\t".'&lt;g:quantity&gt;'.$product-&gt;product_quantity.'&lt;/g:quantity&gt;'."\n"; }

in the file plugins/hikashop/google_products/google_products.php
Note however that the modification will be reverted after each update of HikaShop, so you'll have to reapply it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkwNjkxMS1nb29nbGUtcHJvZHVjdHMteG1sP3RtcGw9bWFya2Rvd24=) 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.043 seconds

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