Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [woocommerce]

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

-1
votes
0answers
5 views

Sale products with branches in diffrent cities with woocommerce

i am Creating a website of drinks and thandai , like when user order particular drink on my website and fill the checkout field ...where he select city and area under that city ... then that orders ...
0
votes
2answers
800 views

Remove “Choose An Option” on Product Variation & Auto Select Instead

I have a specific dropdown field on variable products on my WooCommerce site that only ever has one option available. Example: the customer chooses the item “type”, then “color”, and finally “part ...
-2
votes
0answers
8 views

Woocommerce prescriptive and non-prescriptive products. Add staff menmber as woocommerce user

Woocommerce Website : The Pharmacy Website is intended to be a presentation site, and online store with prescription ability, for the use of medical practitioners. The site needs to function as an ...
1
vote
1answer
3k views

Problem with Woocommerce REST API Authentication

I am using the postman for the check the REST API Call in WooCommerce. When I call the Woocommerce Defaults API. It displays the error like. { "code": "woocommerce_rest_cannot_create", "message": "...
0
votes
1answer
19 views

Woocommerce - exclude only older out-of-stock items

Trying to find a way to exclude out of stock items from listing, but only after some time (let's say, if they're older than one month). I know I can exclude all of them easily, or change the order ...
0
votes
0answers
17 views

Woocommerce search pagination not working

I have a problem with the Woocommerce Pagination but only on the Search Page. On category sites the pagination links are working just fine. But on the Search Page the pagination generates links like ...
0
votes
0answers
9 views

use custom plugin js file in woocommerce setup wizard [on hold]

I want to use custom js code in woocommerce setup wizard. like here i write down some information for example if i integrate a google map auto fill and on the behalf remaining fields auto fill the ...
0
votes
0answers
10 views

“error_message”: “Sorry, you cannot list resources.” using WooCommerce API

When requesting the test API, getting the following response: { "errors": [ { "error_code": "", "error_message": "Sorry, you cannot list resources." } ]...
0
votes
0answers
6 views

How to restrict a product list in woocommerce so that products are not selectable ie they can only be added to cart

I am investigating the possibility of using woocommerce as a volume calculator (not as an ecommerce solution). However, it does not need to calculate volume from measurements...we have already got ...
0
votes
0answers
9 views

Get WC Checkout add-on value from Order

I try to get the WC checkout add-on value stored in my order but the function does not work, can't find the WC_Checkout_Add_On class, maybe because i have removed "SV_WC_Plugin_Compatibility::" but if ...
0
votes
0answers
10 views

How to add child page to Woocommerce product page?

The goal is "add page to product". ex. bmw.com/shop/i8/ << a Woocommerce product page bmw.com/shop/i8/photo/ << normal page I know Woocommerce have it own page taxanomy, it's not have ...
0
votes
3answers
7k views

Woocommerce: show default variation price is products list?

Is there any way to force to show the price of the Product Variation I set as defaul in product page settings, instead of lower and higher prices? I've got this code to show just one price, but the ...
0
votes
2answers
3k views

Getting the gallery images from products in woocommerce?

Looking for a code which could potentially help me get the list of gallery images present in product in woocommerce. Need them so i can use them in a custom single page design for woocommerce product ...
0
votes
1answer
9 views

WooCommerce registration password field not displaying

For WooCommerce registration form we only have one email field and I want to add password fields for this. I have tried to find online help but there are few support pages only for repeat password ...
0
votes
1answer
11 views

How to hide out of stock products in Related Products via custom query in WooCommerce

I am trying to hide out of stock items from the Related Products section of WooCommerce. I don't want to edit theme files, so want to do this via functions.php. I have followed this blog post, which ...
0
votes
1answer
2k views

WooCommerce - Order_itemmeta - Need to add meta_keys to table

I need to add 3 meta values to each order_item to the woocommerce_order_itemmeta table. Any suggestions how to create new meta_keys to be included in the table for all order items?
0
votes
1answer
382 views

How to edit default Woocommerce “products” label

I have this page : http://demo.artmonarchy.com/shop/ Where can I edit page title and breadcrumb which is "Products" now? I already changed the title with yoast but still it appears as Products in ...
0
votes
2answers
910 views

WooCommerce Base Page Featured Image Custom Theme

I have a very basic theme that is running WooCommerce beautifully so far. In my functions.php I've setup the following to support woocommerce. // // WooCommerce Hooks and Theme Overrides // ...
1
vote
1answer
14 views

Add to checkout total lines an additional line below shipping in WooCommerce

I need add "Include pack" line with conditional logic to WooCommerce checkout review order section. How it possible?
0
votes
1answer
2k views

Woocommerce - Changing the order of the upsell products

Having some trouble with a clients site. We have a product with four upsell products linked, and they display on the site. Only problem is, those products are listed on the page in a seemingly random ...
0
votes
0answers
14 views

Woocommerce + Astra Pro + Elementor header shop not change

I'm using a astra sites template for build my e-commerce. Customizing the header of my site I realized that in the shop page the header did not change according to the customization of the theme I ...
0
votes
1answer
291 views

Displaying Custom Input Value to Customer Order Details (My Account) page in Woocommerce

I have been looking for a solution to display a custom input field on Checkout page in Payment option area when Cash ON Delivery option is selected. Upon selection it displays a field in which ...
0
votes
0answers
48 views

Problem with latest Woocommerce update Version 3.6.1 ( API ) [on hold]

http://localhost.com/wp-json/wc/v2/products/categories Old: [ { "id": 15, "name": "Uncategorized", "slug": "uncategorized", "parent": 0, "description": "",...
0
votes
1answer
17 views

Woocommerce budget search

I have woo commerce setup. Now requirement is like say If I search budget lets say 5000,It should show products whose price total is 5000 (ex. one product of price 3000 & one product of prize ...
0
votes
0answers
19 views

Custom theme woocommerce product detail page template not working

I am new in WordPress development, This question already asked but that not solve my issue. I have create custom theme this my theme folder structure In my custom theme product detail page css not ...
0
votes
0answers
10 views

Allow in-store pickup and manual change of order status

Currently, i have customers paying deposit or full price with plugin... but pickup will occur in store... I need a woocomerce plugin that will let me easily pull up their order, let them pay ...
0
votes
1answer
2k views

Woocommerce Product Attribute Permalink doesn't work?

Normally, I can filter product by attribute via calling "mysite.com/shop/?filter_brand=tesla" However, when I tried to call it as "mysite.com/brand/tesla" but it doesn't work and show 404 not found. ...
0
votes
0answers
21 views

How to override WooCommerce Order Item Meta with data from Cart?

I have the following function that is overriding some of the values that are saved to the Cart and Checkout, via the YITH Bookings plugin. Essentially, I have overridden the Duration field with my own ...
1
vote
1answer
14 views

Change the displayed shipping total in WooCommerce

I need to change shipping price programmatically: <?php $percentage = 50; $current_shipping_cost = WC()->cart->get_cart_shipping_total(); echo $current_shipping_cost * $percentage / ...
0
votes
1answer
3k views

Change WooCommerce Email Header using custom plugin

I want to change the woocommerce email header template with a new one so that I could add conditions in header template to get value from the dashboard (To change the color of header based on user ...
0
votes
1answer
9 views

Woocommerce new shop page

I would like to have a page like page.php to display the content of the shop page. How can i do it? I copied everything from woocommerce/archive-product.php in to page.php but nothing is beeing ...
0
votes
0answers
8 views

Woocommerce price based trial subscription

I want price based trial in woocommerce subscription and after that subscription plan will go on. means instead of free trail I want price based trial in woocommerce. Also i don't want sign up fee as ...
0
votes
1answer
1k views

woocommerce product search based only title

hi i need your help regarding for woo-commerce product title based search we have list of product my searching keyword available in product title need to show list product. if product title don't have ...
0
votes
0answers
9 views

Display payment form outside checkout

I am currently working on a WooCommerce store that has specific requirements in regards to checking out. The process is as follows: User orders a product through regular WooCommerce checkout User ...
1
vote
1answer
11 views

Add Products to user's ID Woocommerce

I have made an REST API for synchronize user's cart item to web view to android view. I have used CoCart WP plugin Here are some scenarios: If I adding product from website I can get user's cart ...
0
votes
1answer
374 views

pre_get_posts with WooCommerce Shortcode Query

I want to add some additional query vars and customise the query for woocommerce [products] shortcode. i'm trying to add some additional fields and conditions with pre_get_posts and posts_fields hooks ...
2
votes
2answers
519 views

WooCommerce changes lost password reset link

When I activate WooCommerce plugin, the lost your password does not work and can't sent password reset email to users. But when I deactivate WooCommerce, the lost your password link at login page ...
0
votes
1answer
217 views

How to add Woocomrce cart page shipping calculator to my country state list

Im beginner for the word press , I don't know if the issue is because of the . The problem is that the "calculate shipping" option on my cart page doesn't allow users to select my country / state ...
0
votes
0answers
15 views

On billing country change in the checkout page, re-total the cart using appropriate currency

I'm not very experienced, digging this for days now, running out of solutions. Please help :) I have a two-languages(=two currencies) website using WPML. Both currencies are allowed on both languages,...
0
votes
1answer
16 views

How to apply a custom coupon to a WooCommerce Subscription recurring amount?

I ned to create a custom coupon for use with WooCommerce Subscriptions because for some reason you can either have one on the sign up fee OR you have one on the recurring amount, but I need a coupon ...
0
votes
0answers
34 views

want to confirm popup with “Yes” and “No” button when user click on add to cart

I am new in Wordpress so need help... I want to show confirm popup with the button "Yes" and "No" when user clicks on Add to Cart. after selecting "Yes" on confirm Popup, add a product to cart. If ...
0
votes
1answer
28 views

Only return taxonomies that are linked to a category & product

What's the best way, to return taxonomies, but only taxonomies that are linked to a product, within the category, I have a heirachial taxonomy, I want to get all the top level options, once an option ...
0
votes
2answers
20 views

Display SKU for each Single product title in group product!

Does anyone know how to display the SKU for each Single product title, underneath the Group product? I want to display the SKU to be obvious,as a second line,right below each product of the group.
1
vote
1answer
23 views

Display a selected custom product option in WooCommerce cart

I am using the code below to display a custom select field on WooCommerce single product pages: <?php $sizes = $product->get_attribute( 'size' ); $sizes = explode(", ",$sizes); ?> <?php ...
1
vote
1answer
20 views

Which field should I edit to make the checkbox marked by default?

I have a php form that I want to change the state of a checkbox so it's filled by default, but there are two fields that may be the right way: 'request_vendor_access' => array( '...
1
vote
1answer
31 views

Woocommerce Shop Price Position

I am using Storefront theme with woocommerce and I want to create a custom layout in the shop page. This custom layout has no product thumbnail the title and price must be inside the same div so I ...
0
votes
1answer
26 views

How to prevent blank variation image from showing in woocommerce variable products?

By default, when creating a variable product Woocommerce displays the first thumbnail as a blank image if no image is uploaded for the variation(See poorly highlighted image below). Instead of having ...
3
votes
3answers
554 views

WooCommerce get physical store address

In WooCommerce admin settings (/wp-admin/admin.php?page=wc-settings) there are several fields to set the store address (street, city, country). How can one retrieve this in a theme's templates? I ...
0
votes
0answers
32 views

New WooCommerce products acts diffrently compared to old products

Introduction I am encountering a problem with a WordPress WooCommerce site. My client has many products all of them are “old” before I took over from the previous web bureau. Now, if you make new ...
-1
votes
1answer
14 views

How to remove product attribute row woocommerce using code

I am trying to remove an attribute row in a product attribute tab using code. Woocommerce uses javascript to hide attribute row then uses ajax to save changes. I need this row to be disappeared and ...