Im building a function of buy 3 pay for 2 – the cheapest item will be substracted from each of the 3 items.
This is done in the hook woocommerce_before_calculate_totals and works great.
But now I need to show the savings at each produ
Let's say I need to add a custom code so visitors can visit the product's external site. That way they can visit the product's site.
What I want to achieve is as follows:
Add a custom code after the add to cart button;
The link to the custo
i need to get the endpoint of active tab in myaccount page from WooCommerce
for example:
$currnt_endpoint="the active tab endpoint(for example edit-account)";
I have books as products in woocommerce and I'm trying to show the order of the book in the series. It should look something like this:
"The book 1 of Series"
I've managed to add the link to the series archive but I can't work out the code
I would love to box my products and have prices calculated based on the box weight and LxBxH. When I add one more of my items to the cart, the USPS rate is multiplied by the number of items in the cart but it will be a lot cheaper if boxed.
In sum
We have a food delivery service company, and work with woocommerce for the website
We wanted to start a brand new website with CUSTOM POST TYPES so that each restaurant has its menu displayed.
What we need working is basically for this scre
WC generates duplicate URLs when using category slugs.
Example:
demoshop.com/cat-1/product-a
The same product can be accessed from any URL if slug "cat-1" is modified, e.g.:
demoshop.com/modified/product-a will lead to a status code 200 as