How to only export products that are available for selling?

Only for "Google Merchant Center" module versions ≥ 4.7.10 and for "Google Merchant Center Pro" module versions ≥ 1.6.14)

If you want to export your out of stock products, you must check "YES" for the "Do you want to export out-of-stock products?" option:



If you have a version of the "Google Merchant Center" module ≥ 4.7.10 (or a version of the Pro module ≥ 1.6.14), then a new option appears. This option allows you to specify your choice regarding the export of out-of-stock products.

Indeed, when you add a product back-office side, in the "Quantities" tab, you have the opportunity, whatever your PrestaShop version, to indicate the behavior to adopt if a person wants to buy a product whose quantity is at zero. That is, if you want the order to be accepted anyway or not. By default, this option is on "use the default behavior" and usually, if you didn't change this default behavior, it's set to "deny orders".

For example here on a 1.6 PrestaShop version (but it would be the same for a 1.7 version):


However, some merchants want to still make possible the order of certain products, even if they are out-of-stock. Indeed, these are often products whose stock can quickly be re-stocked. Then, for these products in particular, they will check the "Allow orders" field in the behavior "when out of stock" section of the back-office product sheet.


These merchants may want to export to Google Shopping their out-of-stock products but only those for which they accept orders. For these specific merchants, we set an additional option that allows to take into account the value indicated in the product files regarding the behavior to adopt if the product is out of stock.

If you leave the option on "NO":



then the module will not considere the value indicated in the availability preferences for out-of-stock products and will export all your out-of-stock products regardless of the value indicated for the behavior to be adopted if there is out of stock.

If you select "YES":



then,for each out-of-stock product the module will check the value indicated for the behavior to adopt in case of out of stock. If this value is on "accept orders", then the module will export the product, otherwise it will not export it.

This is therefore an additional filter on out-of-stock product export.

Other FAQs in this category