Questions tagged [woocommerce]

OFF TOPIC. Questions *specific* for this e-commerce plugin have their own forum at https://wordpress.org/support/plugin/woocommerce.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Change product_type from simple to variable in WooCommerce

I know that WooCommerce plugin store product_type in taxomony I use that code // TODO change taxonomy // product_type = variable $terms = get_the_terms($post_id, "product_type"); foreach ($...
0
votes
0answers
21 views

Jump to Footer On Scroll - Woocommerce Pages Phones Only

When I load any Woocommerce product or category page on my site, https://www.cecilyskincare.com, and scroll up over the last two products, my page jumps to the footer. I have researched for a while ...
0
votes
0answers
7 views

Specific product category show local pickup only other products want to show local pickup and flat rate in Woocommerce

I have some product categories on my website where customers can collect from my store, so I need to add local pickup as a shipping method. I have added local pickup but it shows a checkbox at the ...
0
votes
1answer
12 views

Woocommerce digital download not working - database error Cannot add or update a child row: a foreign key constraint fails

I'm having an issue when trying to download a digital product from Woocommerce. When clicking the download link/button on thank you page or woocommerce email, the link shows an error. After going to ...
0
votes
0answers
31 views

How to make wocommerce shop products same heigt

I'm trying to display the products with the same height at the shop page. I want the product image aligned at the top and the add to cart buttons aligned at the bottom. What I have right naw: What I'...
1
vote
1answer
43 views

How to save Clicks of a download link button while it doesn't matter if we refresh the page or again login/logout

I am working on a wordpress site and i am little stuck into one situation , what i want is that:_ I have one resume page, which shows resume posts from wp_postmeta table and each post have a downlaod ...
0
votes
0answers
9 views

WooCommerce plaintext mail doesn't display currency symbol

WooCommerce order mails are not displaying currency symbol when plain text is set as the email type. My settings are following. Language Japanese Currency Japanese yen WooCommerce Ver. 4.4.1 ...
0
votes
0answers
10 views

When looping by a specific variation it shows in stock if a different variation is in stock and need it to not display at all if out of stock

Need major help with this one. So I have developed a fully from scratch WooCommerce site on WordPress. Its for a client that has tons of different products and product variations. Now I have ...
0
votes
1answer
19 views

Force User Registration before visitng Checkout Page

Is there any built in option available in Wordpress/WooCommerce which forces user to register/login before going to the checkout page? There is an option in WooCommerce >> Settings >> ...
0
votes
0answers
52 views

Woocommerce: Can't put items in cart in iframe and on iphone

I have the following problem: I have a Wordpress page that contains a Woocommerce store. This page is embedded in an iframe on a typo3 page. If I visit the typo3 page with Google Chrome it is not ...
0
votes
0answers
24 views

How to update price from database for a WooCommerce Products?

I have 50+ Product Ids in which I have to update the price. I tried running the following query, it did not work, means no change affect on the main product page: update wp_postmeta set meta_value = ...
0
votes
0answers
10 views

Woocommerce Product Filter include in taxonomy terms not in relationship with page results

Today i just visited a page on my site : https://www.outletscarpeonline.it/brand/demonia/ what i see is that in the filter "taglia" and other filter, include all list from taxonomy and not ...
0
votes
0answers
12 views

WooCommerce attributes - replace selection field with variation images

I have a variation field(pa_printing-position) with attributes like "front", "back", etc. and I want to replace the selection field in single product with the variation image of ...
0
votes
1answer
10 views

Display notice on WooCommerce emails depending on chosen shipping option

I need to display a specific notice on the /emails/customer-processing-order.php email template in WooCommerce depending on the chosen shipping option. Is there a way to check the chosen shipping ...
0
votes
0answers
19 views

Unable to extend Woocommerce class WC_Gateway_COD : PHP Fatal error: Class 'WC_Gateway_COD' not found

I have declared a class 'WC_my_COD' which tries to extends Woocommerce COD class 'WC_Gateway_COD'. // class_wc_my_cod.php class WC_my_COD extends WC_Gateway_COD { ... } But I always get class not ...
0
votes
0answers
14 views

Create an order from external Woocommerce site

I'm not sure of the components I need, and need some pointers to references or examples. I have a WooCommerce site, and want a third party who also has a WooCommerce site to be able to place orders on ...
0
votes
0answers
15 views

Show Woocommerce Product Addons options in title on checkout

I have an issue that i need help with, My client uses woocommerce App to manage orders, now the issue is that the app doesnt show selected addons in the app order details, I am using the woocommerce ...
2
votes
1answer
21 views

How to prevent action in ajax request, when in admin side?

I have a plugin that hides certain posts in the frontend. For this to be consistent, I need posts to also be hidden in searches and AJAX searches (needs to work with any theme and search). To make ...
0
votes
0answers
7 views

Need help with woo commerce multi vendor marketplace

i have wcfm (multi vendor marketplace) in wordpress and i need to upload image with name in vendors page into the gallery like...upload one image for reception and second image for other cabin and ...
0
votes
0answers
11 views

Woocommerce: Dont remove item from order if admin set quantity 0

I create a new role called (supplier), This role can only see orders and then go to (shop_order) page, he sees all order that I assign it for him. This is code for this: function ...
0
votes
1answer
21 views

Impossible to create a new WooCommerce customer using Rest API

On my website I have created a register page in react and I am using Wordpress headless with WooCommerce on it. So I was expecting to create a new user using the register page i have and as the ...
0
votes
0answers
15 views

How to display only 1 post of many child-categories in the Parent Category page of Woocommerce

I am trying to display only one product of a child category in the page of parent category. If I use $query->set( 'posts_per_page', '1' ); it shows only only 1 post , which is near to what i want ...
0
votes
0answers
10 views

Resizing images only for WooCommerce categories

I'm trying to resize images just for category pages for a WooCommerce site I'm building. Essentially, I want image square throughout the site, but 3:4 for WooCommerce categories. I thought this code ...
0
votes
0answers
12 views

How to Fix Wordpress multisite woocommerce 403 file error

Recently getting 403 error for woocommerce plugin files while accessing on frontend. Frontend URL: https://tempserver.in/demo/haiko/ Used theme: ekommart tried deactivating / re-activating plugins/ ...
0
votes
0answers
9 views

Multiple Add-ons that add to the total price dynamically?

I have some products that have some add-on accessories, I want the customer to be able to choose each add-on, and with each add-on chosen, that would add to the total base price dynamically. For ...
0
votes
0answers
12 views

Building a members Area

I am in the process of building a members hub where we will give access to members based on their membership level. By default there will be only one public membership and once visitors become members ...
0
votes
0answers
17 views

WooCommerce - Stop assigning order numbers

Let's say that the last order in a woocommerce store have an order number of #100. I want to have an option(button or whatever) to stop assigning order numbers to the future orders, until I click that ...
0
votes
0answers
11 views

Add content after shipping details in Woocommerce App

Is anybody aware of how the Woocommerce Mobile App pulls this information? I have custom content that appears in the browser after Shipping Info in the Order Details. It is working fine and uses the ...
0
votes
0answers
13 views

Gravity Forms for Woocommerce Add-on - GF Products amount not calculated in cart

Has anyone had experience with the Gravity Forms for Woocommerce Add-on? Specifically when generating GF Product fields. Here is what I am trying to accomplish: Using a Woocommerce product, I've added ...
0
votes
0answers
47 views

How to filter product by date range in wordpress WooCommerce product archive page

I have a WordPress food site through Woocommerce. The store page is a weekly menu, and I want to show on the store page only the menu for this week. A new list is entered every week. I found the ...
0
votes
0answers
16 views

Can't add to cart after changing variations

I've been working on the modifications of the select list of the variations (Wordpress,Woocommerce). There are 2 buttons up and down that are expected to change them. They are working but 'Add to cart'...
0
votes
1answer
27 views

Is there a way to hook or call a custom woocomerce template that is not part of the default templates of woocommerce?

So I'm currently using Woocommerce and managed to figure how to override templates based on the documentation. Now I have a problem, so i managed to override a specific template let's say upsell.php. ...
0
votes
0answers
12 views

How to make WordPress search more flexible?

My customer has a WooCommerce product catalog that uses a number of different naming conventions. A part commonly referred to as D100 could actually be named D100, D100-BLACK, D100BLACK, D100 BLACK, ...
0
votes
2answers
64 views

WordPress Development Workflow

Hello WP DEV Community, I understand this question has been asked ad nauseam... I'm trying to customize a development workflow (WordPress + WooCommerce) that allows me to develop locally (to speed up ...
0
votes
0answers
44 views

Register a new user on wooCommerce using Rest API

So, I am building a website in react using Wordpress headless server with WooCommerce plugin. I have found that to create a new customer, you have to use the WooCommerce API: https://woocommerce....
0
votes
0answers
16 views

WooCommerce custom role not working

I am trying to add WooCommerce product adding/editing capabilities to the Yoast SEO Manager role, however all it does is add the WooCommerce menu icon to that user role, and not the products tab, so ...
0
votes
0answers
16 views

How To Add Banner Ads Between Posts With Wordpress/Kadence/Ads Inserter

I have a website that currently inserts banner ads on the front of my woocommerce website after the 6th product (between rows 2 and 3) and after the 12th product (between rows 4 and 5). This location ...
0
votes
1answer
11 views

edit URL of search result

i have wordpress website with sailent theme i have default search in header the result of search is http://www.example.com/?s=colagen while "colagen" is the key that type it in search but ...
0
votes
0answers
16 views

woocommerce_after_calculate_totals not working to update cart item price

what I am trying to achive is if user adds a particual product in cart its price should change to zero Here is the simple code snippet which I am using to update cart item price but add_action('...
0
votes
0answers
16 views

Saving woocommerce_custom_product_text_field to DB

I found and customized function to make a custom order of products on FE by using custom meta. We have one problem. We can see default data in BE of every product but it becomes visible on FE only ...
1
vote
1answer
61 views

Woocommerce: How to remove page title from storefront theme homepage

I have been searching online for this and everywhere I go it says to put the following into your functions.php function remove_title_from_home() { remove_action( 'storefront_homepage', '...
0
votes
1answer
18 views

WooCommerce Stripe Test mode

So I've been integrating WooCommerce with Stripe checkout and set everything up correctly, but when it comes to paying I get this response after hitting 'Place Order': No such customer: '...
0
votes
0answers
25 views

Woocommerce action scheduler events without wp-cron

Hey I just need to verify is their any possibility of adding woocommerce action scheduler events to be trigger from automate without using wp-cron? Is wp-cron to be execute is need active site? What ...
0
votes
0answers
16 views

Get WooCommerce product child categories from parent category

I am trying to display all child categories from the parent categorie. This is my code so far: function woocommerce_display_categories($atts, $content = null) { $prod_categories = get_terms( '...
0
votes
0answers
28 views

Woocommerce Costom Prices and Prices Discounts not working

In my woocommerce store the product's price depends on some conditions, for this reason I use this: add_filter('woocommerce_product_get_price', 'custom_price', 0, 2 ); add_filter('...
0
votes
0answers
12 views

How to Upload images to a custom folder in upload folder using media uploader

I’m creating a plugin for a customer that will add woocommerce products from images (images currently added via FTP) in a custom folder. The user also wants to be able to create a new folder each ...
0
votes
0answers
6 views

How can I subtract Regular price cost price and show it in label or text field?

How can I subtract Regular price cost price and show it in the label or text field?
0
votes
0answers
15 views

removing description tabs - single product page - breaks footer

I would like to only dispaly the gallery & short despcription on the single product page. Using: add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function ...
0
votes
0answers
10 views

wp&woocommerce img sizes clash in footer

I have two images in my footer.php, they are hard coded and shall stay that way: <img src="<?php bloginfo('template_directory')?>/img/logo.png" height="30"> is an ...
0
votes
0answers
12 views

Woocommerece subscription retry fail payment

I need help understanding. How i need to approach the payment retry process for fail payments. For the moment i will just using. add_action( 'woocommerce_scheduled_subscription_payment_'.$this->id, ...

1 2 3
4
5
80