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
1 vote
0 answers
10 views

WP_List_Table sortable column with WC_Order_Query doesn't work

I've created a class that extend WP_List_table to manage WC orders in a plugin admin menu. public static function get_orders( $per_page = 5, $page_number = 1 ) { global $wpdb; $query = ...
Daniel Ringuet's user avatar
0 votes
0 answers
11 views

Add File field in WooCommerce Box office plugin

I'm using WooCommerce Box Office plugin and I want to customize this plugin according to my requirements for example I want to add another field option called 'file' so user can upload files as well ...
M Sufyan Shaikh's user avatar
0 votes
0 answers
4 views

ERR_CONNECTION_RESET After Updating WooCommerce 7.9 to 8.0 above on WAMP

I recently updated WooCommerce from 7.9 to a version above 8.0 on my WAMP setup and have since been unable to access my site, running into an ERR_CONNECTION_RESET error. I've tried nearly everything I ...
Marlon's user avatar
  • 31
0 votes
0 answers
7 views

WP All Import - Set product product status with xpath

I am using "WP ALL IMPORT" to import products through xml. I have 3 different XML's. This proccess is run daily. When editing template XML, in settings of template: 'Other Product options &...
0 votes
1 answer
21 views

How to add fee_lines using woocommerce rest API v3?

Can i use "fee_lines" for below 'booking fee' and 'waiter tip' in rest API of woocommerce ? If yes then send here example please. I used like below but not working. "fee_lines":...
Heena's user avatar
  • 11
0 votes
0 answers
12 views

Woocommerce send metadata to stripe

I am using woocommerce checkout and woocommerce stripe payment plugin, I want to send metadata to stripe from woocommerce order the [billing_vat_number] Can anyone tell me how its done, it is much ...
David's user avatar
  • 1
1 vote
0 answers
26 views

Possible to overwrite load_template function in plugin using functions.php

So, I am currently using a Wholesale plugin for Woocommerce which, by default, redirects users to it’s own Wholesale Store page. The caveat is that the Wholesale Store page only uses the archive-...
jayciemota's user avatar
1 vote
1 answer
19 views

How to prevent woocommerce product tag field from update?

I have some products on WooCommerce, some of these products are published with a special tag. I want these tags not to be changed in any way when I update the products. (I update products remotely ...
yasin taqizade's user avatar
0 votes
0 answers
13 views

Woocommerce - Create a separate catalog by using woocommerce products

In my woocommerce products, I have products that are available for purchase, I also have hidden products which are not available for purchase I would like to also create a catalog category page and ...
Josh's user avatar
  • 274
1 vote
0 answers
19 views

Assign a value (got from an xml file) to an attribute of Woocommerce products

Good morning, I should need to assign a value (value) from an xml file (that I export from my Warehouse Management System to My wordpress site) to an attribute I have already created 'unita'. And each ...
Giak's user avatar
  • 11
0 votes
0 answers
15 views

WooCommerce booking error: call_user_func_array() expects parameter 1 to be a valid callback

Does anyone know a fix for this WordPress error message on my website from the WooCommerce Booking plugin I tried activating: warning: call_user_func_array() expects parameter 1 to be a valid callback,...
Steven Esau's user avatar
0 votes
0 answers
13 views

Woocommerce product search result page layout

I am creating a custom search bar with a category dropdown in my woo-commerce site so how do I fetch the exact design(HTML, CSS) of products in my search result as I am getting through shortcodes like ...
Tuba Saif's user avatar
0 votes
0 answers
14 views

Products showing up in subcategory when they shouldn't

I have a problem where the website shows the subcategorys but also the products on the next page just like in this image you see the sub categorys but theres a second page that shows products that ...
Sn1ck's user avatar
  • 1
0 votes
1 answer
52 views

Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object

I am getting this error when I try to place an order with WooCommerce: I tried to deactivate all plugins except WooCommerce and tried to use a basic Wordpress theme. But it is still not fixed. What ...
Denzel van de Graaf's user avatar
1 vote
0 answers
27 views

WooCommerce Subscriptions - change next payment date on subscription payment complete

I am working on a minor change to the woocommerce subscriptions operation for a specific scenario. I would like to update the value of the ACF field after each payment for a subscription, and then if ...
Ten od WordPressa's user avatar
0 votes
1 answer
23 views

Add class to functions.php custom code to call font awesome icon

I have inherited a website that has custom code in the functions.php file to create a custom Tab in Woocommerce products. This will eventually become obsolete as I update the site but for now I need ...
stratalign_nz's user avatar
1 vote
0 answers
11 views

Adding a div wrapper for postcode and city fields on checkout page

can you advise me on where I'm making a mistake? What I need: I need to add a div wrapper for the ZIP code and city fields on the checkout page. I'm using the woocommerce_form_field_ filter for this. ...
PeterB's user avatar
  • 11
0 votes
0 answers
6 views

Woocommerce product not responsive

I am trying to improve the rersponsiveness of my woocommerce product pages for mobile devices, e.g. here: https://pvcarport24.de/pv-loesungen/solar-carport-stahl/ It seems like the class wp-embed ...
Marco Bobinger's user avatar
0 votes
0 answers
8 views

Difficult case to solve - Select + select = result(related data)

Is it possible to do this with a wordpress plugin? I tried to do it with JetEngine using relation metabox and it didn't work because of the filters I need that: select printer (taxonomy for now, ...
Caio Ponte's user avatar
0 votes
0 answers
12 views

Woocommerce attatch files and custom input meta to cart items and then to order

I have a product designer plugin to Print t-shirts and mugs. The plugin makes the Design in base64 but doesn't save the uploaded images to the media library. So I came up with a custom Ajax function ...
mysticalghoul's user avatar
0 votes
0 answers
12 views

he slug “sub category” is already in use by another term

How you deal it with woocommerce website. I am creating following categories in WooCommerce: Buy > Display > Mobile > Iphone 14 Buy > Screen Protector > Mobile > Iphone 14 Is it ...
M Majbahul's user avatar
0 votes
1 answer
36 views

Adding 400 product categories with their hierarchy to a navigation menu

I've been trying to figure out a way to bulk add all the product categories from WooCommerce without having to add them manually through Appearance -> Menu. I need their hierarchy to follow but I ...
commparlimage1's user avatar
0 votes
0 answers
25 views

add to cart linking to add to cart page

I am making a website in Wordpress and created a custom shortcode for loading the products. That is working fine, however when clicking the add the cart button, if redirects me to the cart page, where ...
Brango's user avatar
  • 11
0 votes
1 answer
40 views

How to disable the autozoom on mouseover for the product image in Storefront theme of WooCommerce?

I'm currently using the WooCommerce plugin with the Storefront theme on my WordPress site. On the single product pages, the main product image has a default mouseover behavior that I want to modify. ...
David Menache's user avatar
0 votes
1 answer
54 views

Woocommerce, via php snippet: How to get product price and divide it by a number from an attribute, and then display the new price via php/html?

Hope something can help me, since php is unfortunately not my world: I need to simply extract the product price of a woocommerce product, and divide it by a number taken from an attribute, and then ...
Bjørn Erik Sandbakk's user avatar
0 votes
0 answers
60 views

Cannot use dynamic prefix for WooCommerce permalink

I need to use a dynamic permalink structure for WooCommerce products, basically, the structure I'm trying to achieve is the following: /<dynamic>/post_name. So what I did is create a rewrite tag:...
sfarzoso's user avatar
0 votes
2 answers
39 views

How to get products with the same custom attribute like ean code

I Try to get all products with the same ean code, but the query doesn't work and also doesn't give any errors. What am I missing? Here is the code I use. if (is_product()) { global $product; $...
apero's user avatar
  • 101
0 votes
0 answers
28 views

Woocommerce paginate link generates #038 instead of ? - seems connected to caching

If I don't reset my cache before using the shop page, #038 appears in the URLs generated in the pagination links at the bottom of the page, and the pagination doesn't work (stays on the same first ...
Resh's user avatar
  • 1
0 votes
0 answers
28 views

limit all products

I want to limit all products. For example, if I have 135 products stored in the database, then I want to display 50 (latest) products. Is there a hook or can I modify any file? Note:I don't want to ...
L.sali's user avatar
  • 1
0 votes
0 answers
4 views

Pricing Rules plugin bulk table not showing in varition of products (have 2 attributes) if single attribute its shows

Its Not showing but same single attribute product its shows
Dinesh Kumar D's user avatar
0 votes
0 answers
21 views

Need to add custom cart item data

I need to create custom elementor product carousel. From that carousel there is a date field. User can select date and add product into cart. The selected date will be displayed as 'preferred date' ...
Khalid Saiffullah's user avatar
0 votes
0 answers
31 views

how to refrence woocommerce blocks in code?

i am writing a block that extends some core blocks, so when i refrence them i use the way wordpress refrence them: "core/group", "core/heading" and so on. and it works great. i ...
Ron's user avatar
  • 145
0 votes
0 answers
32 views

How to change product title color in shop page if product has specific product tag (Woocommerce)?

How to make Woocommerce automatically change product title color for shop page if product has specific product tag (Woocommerce)? Example: if products have tag "banana" or "melon", ...
null's user avatar
  • 1
0 votes
0 answers
4 views

"Joined in" or "Member since" displayed on single store page and then using shortcode to add

I'm trying to add the registration date of users (vendors) to my single store page. This would ideally read "member since (date)". I also want to use shortcode so I can apply this manually ...
MattyC's user avatar
  • 1
0 votes
0 answers
19 views

wordpress woocommerce templates did not update?

I have two sites, one sandbox and one live. Woocommerce needs a core updates so I updated all the plugins, WordPress and Woocommerce. In wp-admin->woocommerce->status on my sandbox under ...
gstlouis's user avatar
0 votes
0 answers
20 views

WooCommerce / Elementor change Add To Cart button text and link for variable products

I'm trying to edit the 'add to cart' button on WooCommerce and I'm using Elementor products widget to show them on shop page and other category pages. I need to change the button text to 'Quick Add' ...
Matt's user avatar
  • 1
0 votes
0 answers
6 views

Wocommerce single product custom design with different attributes using drop down

I want to create this type of page for my Woocommerce WordPress how can I create this type of page any plugin free or paid thanks...
Muhammad Ahmad's user avatar
1 vote
1 answer
13 views

How do we ReWrite HTACCESS to point a cat/subcat Product URL, to Cat/ only?

We have a problem where a site has got some odd URLs indexed by Google. This is the incorrect path: example.com/shop/mens/jeans/jean-product/ This is the correct path: example.com/shop/mens/jean-...
Simon_a6's user avatar
0 votes
0 answers
22 views

Woocomerce: Php code displayed on Product detail page

I have installed WP 6.4.1, and set up a WooCommerce version 8.2.2 On product detail page I see partial php code. Can someone give me a hint what I am missing here and how to troubleshoot this issue? ...
mikipero's user avatar
  • 101
0 votes
0 answers
21 views

How to make the product single photos vertical? (woocommerce)

I would like to stack all the images on the product page one above the other, without thumbnails, instead of having only one large image above the thumbnails. Many fashion stores showcase this effect ...
k4rma clothing's user avatar
0 votes
0 answers
38 views

Woocommerce Payment Plugin with Mycred being the payment processor

some help please. I am trying to build a Woocommerce Payment Plugin with MyCred being the payment processor on another website. The mycred remote api is well configured, and I wrote the payment method ...
JoseLawrence's user avatar
0 votes
0 answers
11 views

Filtering by Hard-coded WooCommerce Product Attributes

I searched everything and couldn't find an issue related to my problem. Most of our product attributes are hard coded in a way that they don't exist in Products->Attributes but are directly created ...
Nikola Donev's user avatar
0 votes
0 answers
39 views

WooCommerce hide product image and gallery in single product page

I am adding this code to remove product image and gallery in single product page. This works in Wordpress default theme 2021, but not in newest (22 and 23). In newest themes product image and gallery ...
Toniq's user avatar
  • 437
0 votes
0 answers
27 views

How to set default product type in WooCommerce to External/Affiliate

I've been struggling to set the default product type in WooCommerce to be "External/Affiliate". I tried every line of code I found in this forum but none of them seem to be working. ...
Chris's user avatar
  • 13
0 votes
1 answer
24 views

Wp Redirect Not Working Can u Help

Hey I developed a form in which user will add detial and it will send email to the team using wp mail. Now i have two issue one is i am having redirect issue i want to redirect user to back page after ...
waqas023's user avatar
0 votes
1 answer
77 views

Where is WooCommerce order shipping methods stored

I need to create statistic about shipping methods used. I know that there a method get_shipping_methods() but it takes a very long time to use it with tens of thousands of orders. I would like to ...
Vlado's user avatar
  • 111
0 votes
0 answers
124 views

Recalculate Completed Orders on WooCommerce to subtract Tax from Order Total

here is a situation I'm facing, I appreciate any help I can get on this: So here is the situation, I have a WordPress store integrated with WooCommerce. Setup: product price include tax. Germanized ...
Rahim's user avatar
  • 1
0 votes
1 answer
20 views

What is the PHP Code for Woo Customer Type (New/Returning)

I've seen that there is a Customer Type column in the in-built Analytics. Can someone tell me the php code for this? I want to use it somewhere else and it seems like a ready function which I could ...
Csaba.io's user avatar
0 votes
1 answer
32 views

How to address an invalid "NOT IN ()" query?

Symptoms: In WordPress admin menu we cannot see any pages or products listed any more, even thoguh the pages and products are still accessible through weblinks for example. Tracing the issue: On one ...
Ádám Bukovinszki's user avatar
0 votes
0 answers
8 views

I want to change the products I created with Advanced Custom Field to Woocommerce Product attribute

I have a site I created using ACF Pro. There are thousands of products here. I want to change all these products to Woocommerce. Is there a plugin that automatically matches product features as ...
Ahmet Ekinler's user avatar

1
2 3 4 5
79