Top WooCommerce & WordPress Plugins › Forums › Product XML Feeds for WooCommerce › XML not working properly
- Support forum for the Product XML Feeds for WooCommerce.
- This topic has 5 replies, 2 voices, and was last updated 6 years, 4 months ago by
WPFactory Support.
- AuthorPosts
-
July 29, 2017 at 6:46 pm #105518
firuz
GuestScreenshots:
https://prnt.sc/g1vu3i
https://prnt.sc/g1vv33- This topic was modified 6 months, 4 weeks ago by
Omar.
July 29, 2017 at 7:31 pm #105519WPFactory Support
KeymasterHi Firuz,
Will check that first thing tomorrow morning.
Best regards,
TomJuly 30, 2017 at 10:50 am #105520WPFactory Support
KeymasterHi again,
I’ve just tested on my server and I’m not sure I can reproduce the issue. I’ve tried some different configurations, and basically the result of
[alg_product_stock_availability]
shortcode depends on what you set in product’s edit page “Inventory” tab. “Out of stock” is shown always as it should be, and “In stock” depends on “Enable stock management at product level” and “Stock quantity” options. As far as I figured out – depending on those settings sometimes shortcode outputs empty string if product is in stock (but for example no “Stock quantity” is set). So as a solution, I’m thinking about addingon_empty
attribute to the shortcode, so you could use it something like:[alg_product_stock_availability on_empty="In stock"]
Please let me know what you think.
Best regards,
TomJuly 30, 2017 at 12:04 pm #105521firuz
GuestHere settings “Invertory” page.
http://prntscr.com/g23ryn
And:
http://prntscr.com/g23sdw
http://prntscr.com/g23sjs
Please help me, i can give you admin page access, if you have a free time.
Sorry for my bad english. Thank you for answer. Best support.July 30, 2017 at 3:13 pm #105522WPFactory Support
KeymasterI meant “Inventory” tab on each product’s edit page.
I’ve just sent you an email.
Best regards,
TomJuly 31, 2017 at 7:39 pm #105523WPFactory Support
KeymasterHi,
As suggested
on_empty
attribute was added to all shortcodes in plugin v1.2.1.Best regards,
Tom - This topic was modified 6 months, 4 weeks ago by
- AuthorPosts
- You must be logged in to reply to this topic.