• Resolved snakejac

    (@snakejac)


    I have found a solution but it didnt work with Shopengine template to show prices below add to cart button and price changes when quantity updated

    Is there any solution or way to do it with shopengine widget template?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I also found this code:

    /**
     * Update Cart Automatically on Quantity Change
     *
     * @author Misha Rudrastyh
     * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html
     */
    add_action( 'wp_head', function() {
    
    	?><style>
    	.woocommerce button[name="update_cart"],
    	.woocommerce input[name="update_cart"] {
    		display: none;
    	}</style><?php
    	
    } );
    
    add_action( 'wp_footer', function() {
    	
    	?><script>
    	jQuery( function( $ ) {
    		let timeout;
    		$('.woocommerce').on('change', 'input.qty', function(){
    			if ( timeout !== undefined ) {
    				clearTimeout( timeout );
    			}
    			timeout = setTimeout(function() {
    				$("[name='update_cart']").trigger("click"); // trigger cart update
    			}, 2000 ); // 1 second delay, half a second (500) seems comfortable too
    		});
    	} );
    	</script><?php
    	
    } );
    
    

    And want to use it on my website, but it doest work for shopengine…. It works for other woocommerce cart options perfectly. Can anyone help to make this work for shopengine?

    Hello @snakejac,
    Thanks for reaching out to us!

    I understood what you’re looking for but currently, there is no feature to update the price on a single page as you have mentioned and we don’t have any customization support yet. We’ll let our valuable clients know whenever this service is available.

    But thanks for letting us know about that feature. We are continuously working on improving our plugin by adding new features to it as per the customers’ needs. I have taken note of this feature and it will be forwarded to the product management team for further evaluation. Hope it will be added in future updates of the Shopengine plugin.

    Best Regards,
    Moin

    • This reply was modified 2 years, 1 month ago by Moin Munna.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show Price Changes on Single Product When Quantity Updated’ is closed to new replies.