Hi Eiie – I wonder if you could possibly share any brief instructions for ajax usage with this plugin? Could you perhaps confirm whether you were able to bypass the single product page using this plugin with your pop-up cart? I also employ a pop-up cart, and I’d love to be able to set the price (and add to cart) from the store page itself. Many thanks in advance.
Thread Starter
eiie
(@eiie)
Hi @daveisthemusic, I’m not 100% on the method I used because I installed everything a few months back and don’t really record my steps. But, from what I can see I use it in conjunction with a pop-up plugin “WooCommerce added to cart popup (Ajax)”. I have WordPress Twenty-Seventeen Child Theme installed. I have my “cart behavior” in woocommerce “products” settings tab set to “Enable AJAX…”. It seems to work well with the page I have all my products on, and for that I have a custom list of products that I contain with CSS styles – I’m essentially using product page shortcodes that looks like this directly on a WordPress page to build my custom “store” pages:
<div class=”boxes”>
<div>[product_page id=”1234″]</div>
<div>[product_page id=”5678″]</div>
<div>[product_page id=”9101″]</div>
</div>
…and one of those products listed above can easily be a “name your price” product, and it seems to work fine.
With other plugins it would redirect to the product page every time someone clicked “Add To Cart”, or they just wouldn’t function. If I only added code to the php files, I could get it to stay on the same page after it refreshes, but I had trouble getting my pop-up cart to function like I wanted. So this YITH plugin works well for my needs so far. Though, I can’t confirm how well it might work with other pop-up cart plugins. Hope this helps.