- This topic has 2 replies, 2 voices, and was last updated 11 years, 12 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Adding product via text link allows negative available copies
Extra Shortcodes for WP eStore version 4.5.1 URL:
[http://www.your-domain.com/?wp_eStore_add_to_cart=productId]
allows the purchase of products with no available copies.
When a product has 0 available copies, the function wp_eStore_handle_add_to_cart_text_link_redirect will add the product to the shopping cart with a quantity of 1. The shopping cart allows the checkout and payment for the product with no inventory and the available copies for the product becomes -1.
Why is a product added to the shopping cart if no copies are available?
The “product addition via text link” feature didn’t have the inventory check. I have added it in the extra shortcodes addon. Please download a new copy of this addon and you should see it now.
The new version of the extra shortcodes addon fixed the problem.
Thanks very much!
Dan