Category "woocommerce"

display WooCommerce “Add to cart” button with short-code [add_to_cart ] dynamically

I use WooCommerce short-code [add_to_cart ] inside a widget sidebar On WordPress website to display “Add to cart” button on product pages (wanted to

WooCommerce: how to add suffix to attribute value? [duplicate]

We are building a wine-shop and have a few typical attributes like alcohol, sugar, acid that have values. These attributes are measured in uni

Split a WooCommerce order and create a new order if the original order has products in backorder

I have the custom order status and it works. What I need help with here is looping through the order items and checking if any of them are on backorder and if

The PHP code skips the main image on my product feed from Woocommerce

This function should return an array of Woocommerce product photos links, but it seems that the product feed that is created take the main picture only when the

I want to change pricing values according to different countries

I am creating a WordPress website and I'm using Techland theme from ninetheme. So I've created a price page and want to display pricing values by country. for e

best way to comment line in include woocommerce file

Is there a way to comment the following line or not call the function in the part of the code in Woocommerce? woocommerce/includes/admin/wc-admin-functions.php

Woocommerce product qty shortcode not working on mobile browsers

I've got an with a site, we've got this shortcode on it: if( !function_exists('show_specific_product_quantity') ) { function show_specific_product_quantity( $a

Filter WooCommerce related products by Polylang language

I'm using polylang plugin to having multi-languages website. Using WooCommerce with polylang demands duplicating each product for each language, so assuming I h

How to change product Image when variables are selected in Shop and Archive Pages?

I use this hook to show variations on the shop page. However, the product image does not change when a variable is selected. It works on a Single product page.

Get all WooCommerce products within own plugin

Within a plugin how do I get products using wc_get_products()? Or is there another way to do it? if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'a

How to get address of all vendors from same city in Dokan Plugin?

I am using dokan for my client's website. they want to show map locations of all the vendors if they are in the same city. For example, if you select London the

Problem with woocommerce checkout and Paypal - buy button does not redirect to paypal as it doesnt change the form action

I am using paypal plus with woocommerce as you can see here: https://www.pro-hypnose.de The paypal display is working so far. But when I click the buy button (h

Don't show recurring price for WooCommerce subscriptions worth 0$

I want to modify the subscription string so it only shows the sign-up fee for variations with 0$ recurring fee. I would also like to show that variation price

Page description of archive pages shows up only on the first page

My woocommerce shop page has a description set up in wordpress backend: pages > shop. Whatever I put there is shows up properly on mydomain.com/shop, but it

Woocommerce Stripe No such source: 'src_1HSDYbGnTdOaP0tZcjziW81K' Error

I'm currently working with stripe woocommerce for my wordpress project, when I proceed a checkout using saved cards it shown me an error like this No such sour

WooCommerce single product page by Woolentor : Related product customize

I use WooCommerce, Woolentor, and WooCommerce subscriptions to construct a website. I'm trying to use the 'WL:Related Product' widget for Woolentor's Single Pro

How to add a sidebar to Woocommerce Shop Page?

So, I'm making my own theme from scratch for Wordpress with the Woocommerce plugin. I can seem to find how to add a sidebar widget to my Shop page... There is n

Rearrange (sort by priority) Woocommerce my account fields

How can I rearrange my-account fields .I want to locate billing_address_1 field after billing_state and billing_city fields. I used woocommerce_form_field_args

How to modify CSS in a specific page of the WP admin dashboard (backend)

I'm trying to remove both padding and the title of the dashboard page of the admin panel of WordPress. The dashboard was redesigned with the "Welcome Dashboard

Auto change order status from processing to completed in Woocommerce

I want to change every order from woocommerce if the 'PROCESSING' status will automatically be updated to 'COMPLETED'. I have tried writing the function in fun