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
1answer
23 views

In woocommerce cart item we can add custom text but how can i add custom link?

My goal is in cart item i have to show one link with each product. - on cart page - on checkout - on order summary in back-end and when I click on link it open the link target website or file right ...
1
vote
1answer
142 views

How to access custom order item meta data from a meta key in WooCommerce?

I'm trying to display some custom meta data that's associated with the shipping on an order in WooCommerce. Here's the entire story of what I'm doing (so it might help someone else, and so you know ...
0
votes
0answers
15 views

All settings of my plugin disappear on its settings page

so I am currently working on building my first plugin. I followed a tutorial to make a settings tab in the woocommerce settings tabs. It worked once, but when I saved a setting, all elements of the ...
0
votes
0answers
18 views

How to make 2 separate pages have 2 separate sorting default options

I currently have my site on a custom default sort with WooCommerce. I need one page to have a different default sort without changing the other. I want this solo page to be sorted by average rating. ...
0
votes
1answer
17 views

Wordpress Performance and bulk edits

Should Wordpress slow down and throw 502 and 504 errors , when 5-6 people simultaneously are making bulk edits on the site on different/separate accounts? It's a Woocommerce site with 600 products on ...
1
vote
1answer
33 views

Exclude products with a stock lower than the low stock threshold from the shop loop [closed]

On our Shop page, we have various badges (things like "Series 1") that, when clicked, link to their respective product tag pages. However, we want a "low stock" badge as well. The problem is that we ...
0
votes
0answers
39 views

Display products with unique attribute value on product archive page woocommerce

We have 40000+ products on our site and have a custom product archive page for manufacturers. Each product per manufacturer has an attribute 'pa_series' that they belong to. Some series have 100's of ...
0
votes
1answer
46 views

Customize Add to Cart Button on single product with variable prices

Customize Add to Cart Button on a single product with variable product. In my themes woocommerce folder this is the hierarchy of the file → I have used the same hierarchy as in the woocommerce ...
0
votes
1answer
31 views

How to change user role after login?

I am working on a wholesale site and want the site to automatically change the user role from customer to wholesale customer after login. This will allow the wholesale customers to see wholesale ...
0
votes
0answers
17 views

Allow user to manage reviews but not products

I'm trying to create a role that grants access only to the comments section of the admin dashboard and allows the user to approve the reviews on the products without allowing them to edit the product ...
0
votes
1answer
20 views

Delete comma in front of currency woocommerce

On a website i am currently working on i cannot figure out/remove a comma in front of my € sign. Prices look like this: 8,67 ,€ everywhere. It really start to working on my nerves right now because ...
1
vote
1answer
34 views

Adding product SKU before cart item name in WooCommerce

I have this snippet that adds product SKU after cart item name in cart, mini-cart and checkout: function show_sku_in_cart_items( $item_name, $cart_item, $cart_item_key ) { // The WC_Product ...
0
votes
0answers
10 views

Woocommerce Product Name in Email Link

I'm adding price on application to some products in my woocommerce store and I'm setting up a mailto link on the product page. Is there a way I can include the product name in the email subject? I ...
0
votes
0answers
6 views

How to get $Product_id every time when $product-> set_price happens

I am writing an API plugin. Every time a product or quantity changes in woocommerce, I need to export a new price to the server. Also in the API there is import, which I will conduct through cron. ...
0
votes
0answers
13 views

Sudden Missing Content

Yesterday the website was working perfectly but come this morning the menu has disappeared from the front and backend plus all products have had their chosen categories unassigned. Screenshots ...
1
vote
1answer
70 views

Woocommerce Product Price Inserted programmatically doesn't get displayed In Single Product Page

I'm trying to scrape a price with simple html DOM and set it as regular product price in Woocommerce. Here is my actual code: //Starting scrape $html = file_get_html('http://sitenam.com/page-1/'); $...
0
votes
0answers
19 views

How to track product price changes?

I am writing an API plugin. Every time a product or quantity changes in woocommerce, I need to export a new price to the server. Also in the IPA there is import, which I will conduct through cron. ...
0
votes
0answers
20 views

WooCommerce free shipping twice a week

I have a Woocommerce store and I want to Free shipping (on all products) but only twice a week. The days can be defined (like Tuesday and Wednesday). So, free shipping should be applied on Tuesday ...
1
vote
1answer
18 views

How to toggle between two custom fields in WordPress woocommerce 'WC Product Field Group' plugin?

I have a full suit tailoring WordPress website and it using woocommerce plugin. I need 2 custom field groups to show in single-product page. Custom Measurements (Precise) In this method the client ...
0
votes
0answers
11 views

Change Tax according to vendor product on shipping

I am trying to add tax functionality according to vendor product and vendors have allowed different shipping address. I have added the functionality for vendor to select specific tax location and on ...
0
votes
0answers
11 views

Woocommerce Templates - How do I change page template layout? How do I edit shop page?

Ok, forgive my frustration. I am going absolutely bonkers with this. Where the hell do I edit the page template (layout) for the shop page? I realize (now, after much frustration) that it default ...
0
votes
0answers
22 views

Display products by attribute on category pages

I'm looking around a solution for displaying products by attributes (pa_size and pa_color) on the product category pages. I have too much color and size options for my products. So, i want to create ...
-1
votes
1answer
26 views

Woocommerce - Shipping tax class based on cart items not using the highest tax available

We have the "Shipping tax class" option on "Shipping tax class based on cart items". When I add a free tax product to the shopping cart and a 21% tax product to the shopping cart together, the total ...
0
votes
0answers
20 views

Add product to order and recalculate after product is loaded in the list

I have a custom e-mail sent to the admin, with a link to create a new order with a selected product and customer. post-new.php?post_type=shop_ordert&add_product_id={ID}&add_customer_id={ID} ...
0
votes
0answers
14 views

How can i override a function of a child class in Woocommerce WC_Order_Item_Product

I am making a WordPress plugin, I register a Custom Post Book, and assign this CPT as WooCommerce product by extending this class WC_Product_Data_Store_CPT, everything is working fine. The problem is ...
0
votes
0answers
8 views

Is there a way to use an html/php form to dynamically set the parameters for a woocommerce product?

I am currently doing a website for a courier company that has a very complicated form for processing orders. I was previously using eForms, but it couldn't do what I needed it to do. At the end point ...
0
votes
1answer
13 views

Set _regular_price 0 if empty in woocommerce product

anyone suggest me a proper woo commerce filter for set _regular_price = '0' if empty ? i want to display 'Add to cart' button even after price is empty or zero for a product. Thank You
0
votes
1answer
23 views

Hide price and add to cart button on product page only

I’m using Datafeedr to show price comparison sets on a product page. The price comparison table opens up dynamically once the page is loaded. But because I want people to follow the link to the ...
0
votes
0answers
13 views

WooCommerce display custom checkout field on my account orders table

I've had a good root around and have got so far, but am now a bit stuck. I started with the code snippets plugin and then found a few bits on SkyVerge: https://www.skyverge.com/blog/adding-columns-...
1
vote
2answers
76 views

Display related products based on 2 specific product attributes values in WooCommerce

I am looking for solution to display related product by multiple product attributes. I've tried "Display Related products for a specific product attribute value in single product pages " StackOverFlow ...
0
votes
0answers
18 views

Divi - Mini cart count does not update

I'm using Divi Theme and I'm trying to make update the cart count in the header without refreshing the default Woocommerce shop page.
3
votes
3answers
41 views

How to iterate through custom posts and add the title to an array

I am trying to query some custom posts so that I can iterate through them, extract the title of ecah and add the titles into an array. The reason I am doing this is so that I can then create a select ...
0
votes
1answer
20 views

Temporary access to page with URL sent to email

I want to protect a certain page with a password. The thing is that I want to get it unlocked to users who have an active booking (I'm using WooCommerce Bookings). I have thought that a good idea ...
0
votes
0answers
20 views

Parent category as WOOCommerce Categories widget title

I'm really not a developer, but this is something I expect not to be too hard to achieve :-) I really don't know where to start, so that's point 1. I read all of the topics about dynamically changing ...
0
votes
0answers
15 views

Is there any sales countdown available for woocommerce?

I marked in the red circle, Please anyone let me know if any plugin available like that! In advance thanks by - Tyler Soffiantino :)
0
votes
0answers
31 views

Woocommerce Flexslider touch functionality on desktop not working

I am using Flexslider settings in Woocommerce to modify the image slider on the single product page. https://woocommerce.com/flexslider/ Support for this is added into Woocommerce by default. I have ...
0
votes
1answer
12 views

Not displaying Category and subcategory from woocommerce Pluign

I have installed woocommerce pluign but when I created categories that page is blank I want to display subcategories in that page and after we click on subcategory that should display all products ...
0
votes
0answers
23 views

Flexslider and WP 4.5.18

First off, I am new to WP and my knowledge of it is spotty at best. I am also fully aware that this version of WP is OLD. However, a new site is in the works, so I'm not bothering to upgrade. Since ...
0
votes
0answers
10 views

Bulk updating Woocommerce products after import

I am using Woocommerce with a SEO plugin that runs a script to generate a SEO score. After importing my products I have to click each product and then press the update button to save for the score to ...
0
votes
0answers
13 views

Wordpress Woocommerce Endpoint URL

Have a wordpress/woo site and having an issue with the order-received message/page. on checkout, after hitting "place order" the page acts as though nothing has happened yet the order comes through ...
1
vote
0answers
8 views

Woo-commerce Checkout Summarized in Pop-up Card Entry Only

Site URL: https://pamperingbear.org Hi there, thanks for stopping in! I am working on a project for a non-profit, donating my time and efforts, yet still want to deliver the best solution possible, ...
2
votes
1answer
58 views

Display order items names in WooCommerce admin orders list

I would like to display order_item of order in admin list like in this screenshot: Changing /woocommerce/includes/admin/list-tables/class-wc-admin-list-table-orders.php file, I tried to add the ...
0
votes
1answer
22 views

Product overlapping header

I've never seen this before, but my product pages started overlapping my header. Just product pages. This began while I was adding a page with elementor (an exact replica of another page) and adding ...
1
vote
0answers
23 views

Woocommerce REST API - updating an order changes custom tax calculations

We have a online woocommerce store that processes two types of orders: shipping and instore pickup. Shipping calculates taxes based on billing address and instore uses the store address (zip). ...
0
votes
0answers
22 views

How to Add Order Confirmation Popup in WooCommerce Site

I am looking out for some way that helps me create a pop up window that shows up on order confirmation page. I tried some plugins but none of them let me add the person's name who ordered and what ...
0
votes
0answers
51 views

Showing and Sorting WooCommerce 'Last Order Date' on Users screen

Need to show and sort the 'last order' date from WooCommerce on the Users screen. I was able to get the date to show correctly, but when I go to sort, Wordpress does not show all the users. The site ...
0
votes
1answer
38 views

Wordpress category title not update in navigation menu

I have simple situation but can't get the right answer and solution Problem: for example my woocommerce category name “soup, noodle & pasta” I add this category in my menu and after that will ...
0
votes
1answer
36 views

Programmatically generate new pages for a site based on page template and content elements accessed via DB

I 'd like to programmatically generate new pages for a site - the textual and visual components of the content are stored in a DB, this includes the names for the different locations the pages are ...
0
votes
1answer
14 views

Editing product categories suddenly crashes website and goes back to wordpress installation

This has happened multiple times in the past week, and I'm not sure what's causing it. Basically, I have a ton of categories (though, i'm not sure if this plays a part in the problem) and when i'm ...
0
votes
0answers
10 views

Change the payment method filter text 'None' to 'Manual Renewal'

I want to change the text of the 'none' payment filter to 'manual renewals. Does anyone knows which hook I can use to apply the changes! Thanks in Advance!