Wordpress woocommerce, adding 2 items to cart at same time -
Is it possible to add 2 items to a car at a time? Such as a free product that is associated with a particular product selected?
I currently add to the cart like this
$ Get ('/? Post_type = product & amp; add -to-cart =' + productId, function () {// stuff here ..});
If this is not possible, do you know that it needs to hook me to change it?
Thanks in advance ..
itemprop = "text">
There may be some resources which can be found in the same string Loads some data with the URL, which is working to add the WP INIT function to the product for the second time.
My solution is to add the following code to the header.php of the subject before any HTML print: if (isset ($ _ GET ['add-to-cart']) The checkout can be changed with any slug header ('location:' .site_url). '/ Checkout /'); Go out; }
Comments
Post a Comment