Category "woocommerce"

Playing audio/video files instead of downloading them on Woocommerce "My Account" downloads section

I have a quick question in regards to WooCommerce and downloadable files. I would like to make the purchased products play in My Account section rather than eas

woocommerce product variation color attributes on product list page redirect to single product page on-click

I want, when I click on these color attributes on the product list page it redirects me automatically to the single product page. it shows similar behavior to

WooCommerce attach YITH pdf invoice to custom order status email

I am after some help, please. I am looking for a code snippet that will attach my Yith PDF invoices to an automated email for a custom order status I have alrea

How to get productlist by "category slug" in wordpress

I am working in wordpress and i am trying to get "productlist" by "category slug",So for this i am using following code $terms = get_terms('product_cat', array(

Woocommerce products are displaying on singular.php

I have created a custom theme and downloaded woocommerce plugin, the shop page is working fine however when I view a product only the content appears. The produ

WooCommerce - Get Price Total as number

I'm a newbie, and I have this problem as it shows me $0.00 on the Order received page. // Add Custom WooCommerce Checkout Message add_action( 'woocommerce_thank

Highlight Woocommerce admin orders list when order contains a regular product

I am using Woocommerce and YITH Subscription plugin to sell a subscription product. But when people also order a regular product I often overlook that (~95% of

WooCommerce checkout: How to set field as required if another one is filled + how to autofill field with data from another field

I am looking for solution for my problems in checkout. First problem is that I need to make field company ID as required if field "Buy as company" is checked. I

WooCommerce - How can I add multiple, products to cart using ajax with same add-to-cart-Button?

I am trying to use ajax to add multiple, different products to cart with one button click. The AddToCart-Button is living in SHOP before pagination. Ajax reques

WordPress plugin extend WC_product with namespace class not found

I am trying to add new woocommerce custom product type from my plugin. I just have a simple construct in the class that extend WC_Product namespace giftbox\mode

Free Search plugin for WooCommerce website [closed]

Can someone advise a free Search plugin for WordPress WooCommerce website , that can display in search results “products” and read

Add custom product option to woocommerce orders list

I am using the "custom product options" plugin and created a datepicker for customers to choose a requested ship date. I need to create a column on my orders ad

Woocommerce - hide an element if logged in, show element if logged out

i've found the following code to make an element change to display:block; if a user is logged in .logged-in .price{ display: none; } and also <?php if ( i

React native Button onPress Linking to wooCommerce product [duplicate]

We have to break the checkout flow in our mobile app and move it outside the app. So currently we have it setup that tapping Cart & Accoun

Skip 1st Woocommerce subscription renewal after order

I'm using a plugin to create a subscription schedule so that the subscription is processed on specific dates. For example, the next subscription is set to execu

Woocommerce how to add account details to billing address automatically

I would be much grateful if you help! I have custom registration fields that are correctly saved in database and are accessible through: $user->['users_tel']

Hide WooCommerce Subscriptions 'cancel' button after 90 days

I am trying to show/hide the 'Cancel' button within the subscription details in 'My Account', based on the subscription start date. However I am finding the int

WooCommerce product images in other plugin

I'm trying to get product thumbnail images into a PDF packing slip template on a WooCommerce site, but as a beginner can't really figure out how to call the pro

Add shortcode to WooCommerce product description

I am trying to auto-add some shortcode at the end of every woo product description. (not after short description). The code with which I am trying is: add_filte

Slow Query in WooCommerce, what to do?

I have written a Plugin that displays the sum of all purchases of all customers of the last year, ordered by the sum (Customer who bought the most is on top). I