Questions tagged [woocommerce-offtopic]

OFF TOPIC. PLEASE CLOSE THIS QUESTION. Questions *specific* for this e-commerce plugin have their own forum at https://wordpress.org/support/plugin/woocommerce. Click the "Learn More" link below for useful links such as Support and Developer Docs.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

WooCommerce: I Need to hide my page title/header (including menu) from all the WooCommerce related product pages, such as category and keyword pages

I've been trying to hide my page header from showing different WooCommerce related product pages/search. I managed to put the right CSS to hide it from main product page, but when certain category or ...
0 votes
0 answers
11 views

How to Manage Multiple WordPress Websites from one dashboard (WooCommerce)

I have 10+ E-commerce WordPress websites that, I want to have a one dashboard with E-commerce information like sales,orders and status of the orders.. I just tried MainWP, but it doesn't come with ...
0 votes
0 answers
41 views

Create Custom Coupon Type

I'm trying to customize the "Woocommerce Subscription" plugin to add a custom coupon type. As they don't have a coupon type to add a discount on regular products as well as recurring ...
  • 103
0 votes
0 answers
32 views

How to create a "plugin" or "block" that can manipulate Wordpress DOM in frontend?

I tried to understand the wordpress plugin dev ecosystem. It is somehow not clear what the right way is for a plugin that displays some HTML/CSS in the frontend of a wordpress/woocommerce page, that ...
0 votes
0 answers
112 views

Update acf field in woocommerce orders

I have a custom field in woocommerce orders. I am making an API request to save my order details in api as well and so when I create a new order in api it generates a order id which i want to save to ...
  • 11
0 votes
0 answers
28 views

WCFM Custom form

Looking at a plugin, how to custom code the WCFM form registration page? Does any one know how? Not looking to style it with css or add new fields only I literally need to change the whole layout. Any ...
0 votes
1 answer
133 views

What is the meta_query key name for the woo product average rating? [closed]

I am asking about meta_query key name to query the woocommerce all product 5 star average rating in wp_query I have tried to use these names but not working (_wc_average_rating , average_rating, ...
0 votes
0 answers
13 views

Grabbing value of input field inside of array

I recently made customized input fields. I was able to grab the values normally with woocommerce_form_field, specifically with the get_value attribute. I want to grab the value of each inputted field ...
0 votes
0 answers
13 views

Woocommerce - display all sold out products

I'm trying to write some custom shortcode to display all Woocommerce products on a page that have been sold. Suprisingly Woocommerce does not seem to include this by default. I am a developer but not ...
0 votes
1 answer
24 views

Can I remove WooCommerce specific product categories from shop managers?

Can I remove WooCommerce specific product categories from shop managers, so that they can publish products only in some specific categories. I tried this, but it's not working. $user = ...
  • 51
0 votes
0 answers
10 views

dakon show vender address on checkout page

I need to show the vender address on checkout page, the farest i've got is to show it on single product page, but not even on the product that is on checkout page, ideally is to print it somewhere on ...
0 votes
0 answers
11 views

Adding total_sales to Grouped Product within WooCommerce

I have a WooCommerce shop that has Single products assigned to Grouped Products (Single products are assigned to ONE grouped product). We only show Grouped products on the frontend of the shop and ...
  • 1
0 votes
0 answers
10 views

Woocommerce how to show most selling products by category

How can I display most selling products of a specific category? I can achieve this goal by using the shortcode [best_selling_products category=”grocery”]. But instead of using different shorcodes for ...
0 votes
1 answer
34 views

How to set variable to specific field when querying

I am trying to validate an input box against a field in a database. My question is, how does one check a single input equal to any field in a column? I am able to connect to my query, but am unable to ...
0 votes
0 answers
13 views

AffiliateWP not calculating multiple quantities when using affwp_calc_referral_amount filter

I am creating an AffilateWP integration for a project using woocommerce. I am calculating flat rates based on the value of a field of a product tag (so I can cluster update if needed). The integration ...
0 votes
0 answers
375 views

My custom button to add an item in the WooCommerce admin page doesn't refresh the page

I am trying to add a helper button, in the WooCommerce order admin page, to save a bunch of clicks navigating to and adding a very popular item. My PHP code manages to get the button to appear and to ...
  • 1
0 votes
0 answers
26 views

Adding a column to woocomerce admin order page that can be sorted

I'm trying to add a column with custom meta data to my woocommerce admin order list and be able to sort them by name. So far I have found a code that adds the columns but they are not sortable. Can ...
0 votes
0 answers
17 views

Fetch products with filter by similar categories at same time

Do you know how I can filter products with several categories at the same time using woocommerce rest api v3?
0 votes
0 answers
64 views

Hide a shipping method if cart total is higher than an amount

In Woocommerce, I am trying to remove the 'flat rate' shipping method when the cart total is higher than 500, using the woocommerce_package_rates. But it is not working, when I try to debug it by ...
  • 1
1 vote
0 answers
55 views

How to add my theme's style to woocommerce blocks?

I have found plenty of articles on how to remove the styling from the Woocommerce blocks, but I can find nothing about how to actually use your theme's styling to replace the removed styling from the ...
  • 11
0 votes
0 answers
25 views

How can I make a quotation engine like this website in WooCommerce?

I was creating a website and I would like this quote could be made for WooCommerce or WordPress. I add the url as an example: https://dtfpormetros.com/dtf-shop/ If a plugin does something like the url ...
0 votes
0 answers
18 views

I want to set a different banner for each product in the woocommerce plugin on my wordpress site

I want to assign a separate banner to each product on the site, but I cannot because the product page is a template. can you help me
0 votes
1 answer
13 views

Add different sizes packaging boxes to orders plugin

So im selling frozen items in special eps boxes in woocommerce, i need a plugin, i got 2 different sizes. One small can contain 5 items and costs €1,5 and the other medium 15 items €2,5 If someone ...
  • 1
0 votes
0 answers
79 views

How to show image caption in Woocommerce gallery

there is a way to show in product gallery in woocommerce the caption of the image? i have try different way but i cant find the solutions, i use ad extrernal plugin for the gallery https://www....
0 votes
0 answers
63 views

Hide child of parent categories already hidden with "get_terms_args" - Woocommerce

I would need your help as I am unable to hide subcategories, or rather, child categories of already hidden and defined categories. I tried entering $args['parent'] = 0; but it hides all the parent ...
  • 23
0 votes
0 answers
45 views

Wordpress error

Hell, I have an error: Fatal error: Uncaught Error: Call to undefined function apply_filters() in /home4/smakolyk/public_html/pcwordpress/wp-content/plugins/woocommerce/includes/admin/importers/...
0 votes
0 answers
6 views

Template selector for woocommerce product

i would link to know if there is a plugin to select a template for each product (in the add new product page) Thanks to everyone!
0 votes
0 answers
9 views

Trying query woocommerce product order by menu order and stock status

I am trying to make the query order by menu order DSC, and put all out of stock at the very end by combining the below 2 codes into one. This one works ordering by menu order add_action( '...
  • 15
0 votes
0 answers
17 views

Save And Display Mp3 Audio files on WooCommerce product page with Dokan

so basically I use dokan as my multivendor shop and I want to give sellers the option to add an MP3 Demo of their product that will display on product page. https://wedevs.com/blog/409723/how-to-add-...
  • 1
0 votes
0 answers
84 views

Woocommerce set loop_shop_columns to be 3 in the main shop page loop only and 4 otherwise

I am trying to make the WooCommerce shop page display 3 products per row in the main loop only not in any other products widgets on the shop page, I want those widgets to show 4 products per row I am ...
0 votes
0 answers
18 views

editing product page template - getting template for related products not working

I'm trying to edit the structure of the product pages and so far I've been able to remove tabs and display the description and comments/reviews templates the way I want but I keep getting an error ...
0 votes
0 answers
12 views

Setting stock levels to "0" for all products in store using WP CLI

Is there any way to manually update the product statuses as "0". At the moment I am using WpAllImport + WpAllExport and it looks like WpAllExport generates a file with the current list of ...
  • 1
0 votes
0 answers
80 views

How to change "reply to" email address for specific Woocommerce products

How can I run same function for specific product? I mean the header email will change when place specific products. no need to work on globally thanks here is my code. //My Code add_filter( '...
  • 1
1 vote
0 answers
20 views

How to disable schema from Wocommerce? [closed]

I found on my product category page that I have a lot of schemas and I want to disable it. Is there a way to disable those schemas? I think some plugins add their own schema...
0 votes
0 answers
15 views

Add field to category woocommerce page

I added a field to product category page in woocommerce with ACF. Here's the code from the ACF documentation for showing a field : <?php get_header(); // get the current taxonomy term $term = ...
  • 1
0 votes
0 answers
35 views

Function to reference post meta in place of category Woocommerce

I recently installed a plugin for wordpress/woocommerce that allows you to choose a primary category for a product when it's in multiple categories. It works well to change the breadcrumbs, but my ...
  • 1
0 votes
0 answers
16 views

WordPress Pagination products with AJAX

guys, I'm trying filtering products by attributes from my custom widget plugin when I search something and it has only 3 products it still shows pagination from 1-17 pages, and also if the products ...
0 votes
0 answers
8 views

Membership website with discount on scheduled appointment

Please I need help 🙏🙏🙏 I've been looking the whole week for a plugin ( or plugins combination ) that can allow my users to subscribe to multiple plans and then when they subscribe they will get a ...
0 votes
0 answers
38 views

How to return a specific attribute

The following returns the description return (new CSimpleField('product','data','description',null,null))->GetHtml(); I am trying to return a specific attribute named pa_color but it is not ...
  • 101
0 votes
1 answer
93 views

How to Remove Active css from woocommerce variation?

I have a small pickle. I can't figure out how to turn the css off after it gets activated. If the user changes their mind, I want the yellow to turn off if they deselect the button (variation). I can'...
0 votes
0 answers
15 views

WOOF product filter prevent from loading on wordpress search result page

Is there a way to prevent woof product filters from loading on normal wordpress search result page? Not only css=>display:none, but fully prevent from loading on page.
0 votes
0 answers
72 views

Add rewrite rule to make Woocommerce product category page seo friendly

I want to show sale products of that particular product category page by using /sale except using a query string stock_status=onsale. e.g https://www.example.com/sneaker/?stock_status=onsale It ...
0 votes
0 answers
43 views

Automatic recurring payment using YITH subscription and Dokan Stripe

I want to enable automatic renewal of recurring payments for subscription product. I have used YITH wooocommerce subscription plugin for subscriptions and Dokan stripe plugin for payment but for first ...
0 votes
1 answer
80 views

How to add a text in the checkout page woocomerce?

I would like to add a text in the checkout page in this part: I tried to use this hook: function wh_test_1($order_id) { //<--check this line //create an order instance $order = ...
0 votes
1 answer
27 views

wp_set_object_terms setting only first id from array

Why would wp_set_object_terms save only the first value from an array? I'm using a frontend form to programmatically create a Woocommerce product. The frontend form uses a multiple select field that ...
  • 23
0 votes
0 answers
27 views

Remove Products From Category

I want to remove all products from a specific category. I thought a solution but I'm not sure that its the best way? It loops all products and remove the specified product_cat term. Another solution ...
  • 101
0 votes
0 answers
6 views

Woocommerce - sell a certain category by unit, another by weight? How?

I have a client that sells fruits and vegetables. For some categories, they would like to sell them by pieces. For other categories, they would like to sell them by weight. Anyone had experience with ...
0 votes
1 answer
15 views

I need to export all products and images but I don't know which table the images are in

In the wp_posts table, the guid field does not display the url of the item's image, per the ID field. I have poked around in the other tables, but I just can't find it. When I'm looking for a ...
0 votes
1 answer
34 views

How to hook to function of woocommerce product export _regular_price?

I need to write function to upgrade standard woocommerce product export function of _regular_price meta field. I have pricelist in 'csv' format where i have 'Currency' column. When pricelist is ...
0 votes
0 answers
25 views

How to get custom minimum price in Woocommerce

I am trying to get a custom price range by excluding some of the attributes whose names start with "Deckel" I have spent days to make it work but I could not make it. Can you please help me ...
  • 101

1 2
3
4 5
79