kopal
Forum Replies Created
-
Forum: Plugins
In reply to: [Quick Buy For Woocommerce] Sortcut is not working for product variationsHi,
I managed to solve the above scenario in another way (independently on this plugin), so I do not necessarily need this solution.
Thanks,
PalForum: Plugins
In reply to: [Quick Buy For Woocommerce] Empty cart before addingHi,
I also need this feature, if it is possible.
I would like use only the quick buy function on our site and redirect the customer right to the Checkout page, and never use the cart page. Like on this page:
https://www.admincolumns.com/pricing-purchase/If the customer place a product into the cart, and redirected to the checkout page, but he does not buy the product, then the next time when he choose a product, the previous product should be removed from the cart.
This is important because if we do not use the cart page on the site, there is not any possibility to remove any previously added product from the cart.The following code is useful for this reason: https://stackoverflow.com/a/27031767
This code can be applied independently of this plugin, but it would be more comfortable if it was a built in function.Maybe it can be switch on/off globally, or just for specific shortcode buttons using a shortcode parameter.
Thanks in advance,
PalForum: Plugins
In reply to: [Quick Buy For Woocommerce] Sortcut is not working for product variationsHi,
Thanks for the quick reply.
I use the latest versions: WP 4.8.2 and WC 3.2.1, but the problem also occurs on
WC 3.1.2.I generated a shortcode using the built in Shortcode Generator. I could not choose a concrete product variation in the Product field, so I chose the variable product itself (so it was the whole product, not a specific variation of it), then I replaced the product id in the shortcode to a variation id manually. (Maybe this was not the right way that I did.)
So the originally generated shortcode for the whole variable product (not a specific variation) was this:
[wc_quick_buy_link product="198" label="Buy Now!" qty="1" type="button" htmlclass="single_add_to_cart_button button"]Then I overwrite 198 -> 528.
528 is a specific variation ID of the variable product:
[wc_quick_buy_link product="528" label="Buy Now!" qty="1" type="button" htmlclass="single_add_to_cart_button button"]Here is a description for the standard WooCommerce add_to_cart button for variation handling, I try to use wc_quick_buy_link shortcode similarly:
http://www.remicorson.com/add-woocommerce-variable-product-with-variations-to-cart/My aim is to create a pricing table that contains each variation of a variable product in different columns. I need a “Buy now” button for each variation placed the bottom of the columns for the different variations. I would like that clicking on one of these buttons, the specific variation be added to the cart, and the user be immediately redirected to the checkout page, where this one product variation can be bought. This is works for single products, but I cannot use it for variations.
There is a lot of sites using this method, for example these:
https://www.admincolumns.com/pricing-purchase/
https://fatcatapps.com/easypricingtables/pricing/
(The first example is a WC site, the second is a none WC)
I would like to achieve similar functionality on our own site.Thanks for your help in advance,
Pal- This reply was modified 8 years, 5 months ago by kopal.
Thank you the Github version is excellent.
Thank you for the quick reply, I will try it.
Exit detection will be available in free version?
Is there any difference between exit detection (in the free version) and the exit intent functions (that you mentioned above)?This is the test page:
http://filogytest1.ddns.net/hello-world/Forum: Fixing WordPress
In reply to: WP Customizer remove nav_menus_created_posts setting problemI have tried these, but do not solve the problem.
Forum: Hacks
In reply to: Customizer set_preview_url to a special URL not workingThanks for your answer.
I can solve this issue by creating a url rewrite rule for my php file and including the file as a template using template_include filter according to this post:
http://stackoverflow.com/questions/25310665/wordpress-how-to-create-a-rewrite-rule-for-a-file-in-a-custom-pLugin