Title: kopal's Replies | WordPress.org

---

# kopal

  [  ](https://wordpress.org/support/users/kopal/)

 *   [Profile](https://wordpress.org/support/users/kopal/)
 *   [Topics Started](https://wordpress.org/support/users/kopal/topics/)
 *   [Replies Created](https://wordpress.org/support/users/kopal/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/kopal/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/kopal/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/kopal/engagements/)
 *   [Favorites](https://wordpress.org/support/users/kopal/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Quick Buy For Woocommerce] Sortcut is not working for product variations](https://wordpress.org/support/topic/sortcut-is-not-working-for-product-variations/)
 *  Thread Starter [kopal](https://wordpress.org/support/users/kopal/)
 * (@kopal)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/sortcut-is-not-working-for-product-variations/#post-9628624)
 * Hi,
 * I managed to solve the above scenario in another way (independently on this plugin),
   so I do not necessarily need this solution.
 * Thanks,
    Pal
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Quick Buy For Woocommerce] Empty cart before adding](https://wordpress.org/support/topic/empty-cart-before-adding/)
 *  [kopal](https://wordpress.org/support/users/kopal/)
 * (@kopal)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/empty-cart-before-adding/#post-9621949)
 * Hi,
 * 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/](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](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,
    Pal
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Quick Buy For Woocommerce] Sortcut is not working for product variations](https://wordpress.org/support/topic/sortcut-is-not-working-for-product-variations/)
 *  Thread Starter [kopal](https://wordpress.org/support/users/kopal/)
 * (@kopal)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/sortcut-is-not-working-for-product-variations/#post-9621894)
 * Hi,
 * 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/](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://www.admincolumns.com/pricing-purchase/)
   [https://fatcatapps.com/easypricingtables/pricing/](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](https://wordpress.org/support/users/kopal/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HollerBox — Fast & Effective Popups & Lead-Generation] Exit Detection problem](https://wordpress.org/support/topic/exit-detection-problem/)
 *  Thread Starter [kopal](https://wordpress.org/support/users/kopal/)
 * (@kopal)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/exit-detection-problem/#post-9503095)
 * Thank you the Github version is excellent.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HollerBox — Fast & Effective Popups & Lead-Generation] Exit Detection problem](https://wordpress.org/support/topic/exit-detection-problem/)
 *  Thread Starter [kopal](https://wordpress.org/support/users/kopal/)
 * (@kopal)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/exit-detection-problem/#post-9503057)
 * 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)?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HollerBox — Fast & Effective Popups & Lead-Generation] Exit Detection problem](https://wordpress.org/support/topic/exit-detection-problem/)
 *  Thread Starter [kopal](https://wordpress.org/support/users/kopal/)
 * (@kopal)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/exit-detection-problem/#post-9502857)
 * This is the test page:
    [http://filogytest1.ddns.net/hello-world/](http://filogytest1.ddns.net/hello-world/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP Customizer remove nav_menus_created_posts setting problem](https://wordpress.org/support/topic/wp-customizer-remove-nav_menus_created_posts-setting-problem/)
 *  Thread Starter [kopal](https://wordpress.org/support/users/kopal/)
 * (@kopal)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-customizer-remove-nav_menus_created_posts-setting-problem/#post-8616996)
 * I have tried these, but do not solve the problem.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Customizer set_preview_url to a special URL not working](https://wordpress.org/support/topic/customizer-set_preview_url-to-a-special-url-not-working/)
 *  Thread Starter [kopal](https://wordpress.org/support/users/kopal/)
 * (@kopal)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/customizer-set_preview_url-to-a-special-url-not-working/#post-8601318)
 * Thanks 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](http://stackoverflow.com/questions/25310665/wordpress-how-to-create-a-rewrite-rule-for-a-file-in-a-custom-pLugin)

Viewing 8 replies - 1 through 8 (of 8 total)