WooCommerce Disallow ClearPay (AfterPay in some regions) messaging for specific user roles on product page
I have a wholesale side of website which when users logon are given the role “wholesale”. As these are trade customers I want to disable Clearpay on all product, category, cart and checkout pages. I have been able to disable the checkout page but really struggling with the individual product page and category pages.
automatically change order status from processing to complete after 10 days
I am looking for a way to auto Change Status of Order from processing (wc-processing) to Completed(wc-completed) but after 10 days. Can it be done?
PHP button to download WooComnmerce images not working when I change the position
I have 2 codes for a “download images button”:
BIN number based discount in WooCommerce
I need to provide BIN number based discount in WooCommerce. I have tried to calculate discount and to apply coupon but none of it works while on the order-pay page. If i go back to checkout it applies the discount. I need this discount to be applied while on the order-pay.
Woocommerce Split Orders for Partial COD Amount
I have this code which adds a COD payment option to my woocommerce store, so customer can pay partial payment as prepaid order and remaining outstanding amount as COD order.
set a shipping cost for first item in cart based on shipping zone and a different cost for each additional item based on quantity steps at woocommerce
i have a PHP code that counts shipping cost in woocommerce based on quantity steps in addition to another cost based on shipping zone, the sum of two costs give the total shipping cost. what i need now to apply the shipping zone cost to only first item in cart and apply the cost based on quantity steps to the rest of items starting from the second item in cart.
Why does my function work sometimes and sometimes not
I am trying to get this function to work consistently but am facing issues. I have a WooCommerce site that allows users to order products without paying immediately. Instead, they have 8 hours to pay cash to any in-store partner, who will then mark the order as complete (changing the order status from on-hold to completed). If they don’t make the payment within 8 hours, their order should automatically cancel (changing the order status from on-hold to cancelled).
Why does my function not working work sometimes and sometimes not
I am trying to get this function to work consistently but am facing issues. I have a WooCommerce site that allows users to order products without paying immediately. Instead, they have 8 hours to pay cash to any in-store partner, who will then mark the order as complete (changing the order status from on-hold to completed). If they don’t make the payment within 8 hours, their order should automatically cancel (changing the order status from on-hold to cancelled).
WooCommerce attributes not inserting into the product
The data is in a strange way, where it just checks if the product name is the same while going through the items in the JSON, and if it does, it adds the attributes of that item to the product with the same name. But right now it only shows the last attributes added in WooCommerce.
WooCommerce- Apply Conditional Discount after Shipping
I have created a some custom shipping and discount rules for my custom user- ‘dealer’. The problem is I want to apply my conditional discount before Shipping fee is applied. For some reason it displays after.