nvdeals
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Price Based Tax Setuphave a look in this it works ??
add_action( 'woocommerce_before_calculate_totals', 'apply_conditionally_gst_tax_rate', 10, 1 ); function apply_conditionally_gst_tax_rate( $cart ) { if ( did_action( 'woocommerce_before_calculate_totals' ) >= 1000 ) return; foreach ( $cart->get_cart() as $cart_item_key => $cart_item ) { $product = $cart_item['data']; $price = $product->get_price(); $tax_class = 'gst-5'; // Default tax class if ($price >= 1000) { $tax_class = 'gst-12'; // If price is greater than or equal to 1000, set tax class to gst-12 } $product->set_tax_class($tax_class); } }
Forum: Plugins
In reply to: [WooCommerce] Price Based Tax SetupThis response doesn’t address my needs. I specifically require a breakdown of taxes for each product based on their individual prices, rather than a calculation of the total cart value.
Forum: Plugins
In reply to: [WooCommerce] Price Based Tax SetupI’ve already set up the customer’s shipping address, but I’m struggling with implementing price-based tax logic for products in the Indian clothing category. In India, there are two different GST tax rates for this category: 5% if the product price is less than 1000 rupees, and 12% if it’s above 1000 rupees.
For instance, my product is priced at 1499 rupees, and when adding it to the store, I’m selecting the 12% tax option. However, I’m unsure how to ensure that if a user applies a discount coupon, the tax automatically adjusts from 12% to 5%. Can you guide me through the step-by-step process of implementing this logic?
you can check your side also
i using but not showing this type ad on my site.
when i visit any site and open any pages after 2-3 pages one ads showing like https://ibb.co/WcF74Ms this which full width and one close button on top.
ok let me know how i can add this type of ads https://ibb.co/WcF74Ms
Let me explain what i want to say ?? first of all open this screenshot https://prnt.sc/cjNwcZ_Dei5E I want to Make my ads full-width on mobile devices..
data-full-width-responsive="true" Here's an example of where to insert this code snippet in the ad slot code. <ins class="adsbygoogle example_responsive" style="display:inline-block" data-full-width-responsive="true" data-ad-client="ca-pub-XXXXXXXXXX" data-ad-slot="XXXXXXX"></ins>
i add code as in example but not working.
I am adding this attribute data-full-width-responsive=”true” for full width but its not working.
Forum: Plugins
In reply to: [WooCommerce] Out Of Stock Product Selectablehttps://cotila.in/products/high-waist-micro-houndstooth-legging/ you can see when i click on coco all images are visible but when i click on olive only one image has change how i can upload rest of variation images??
Forum: Plugins
In reply to: [WooCommerce] Out Of Stock Product SelectableLook Into this there is 2 variation https://prnt.sc/24tat2m Coca Black and Olive Black but i want to add all variation images how is it possible??
Forum: Plugins
In reply to: [Back In Stock Notifier for WooCommerce] Variation Stock NotifyPlease check carefully and coz it will Burn After Read paste
Forum: Plugins
In reply to: [Back In Stock Notifier for WooCommerce] Variation Stock NotifyCheck again
Forum: Plugins
In reply to: [Back In Stock Notifier for WooCommerce] Variation Stock NotifyKindly check it ??
Forum: Plugins
In reply to: [Back In Stock Notifier for WooCommerce] Variation Stock Notify