Skip to main content

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
2 answers
13 views

Custom add to cart does not work well only on the first time

I have foreach which loops through product and create custom add to cart links, for the first time I've got redirected to cart and product was not added to cart, but if I go back to homepage and add ...
Martin Orešanský's user avatar
0 votes
0 answers
31 views

Set Variant options/attributes values on WooCommerce

I can insert variant options/attributes with no default values(variant name) in order to display following Variant options area with selected attribute names(Renk,Beden) on the product, by using ...
blueway's user avatar
  • 23
1 vote
1 answer
195 views

Update a server-side render Block when woocommerce cart block changed

I am currently developing a small block for WordPress/WooCommerce and now I have a problem that I can't solve easily. To summarize: I am looking for a way to update my block in the frontend when ...
HackePeter's user avatar
1 vote
0 answers
36 views

Where is code for is_purchasable defined in Woocommerce [closed]

I've got a Wordpress/Woocommerce installation. On the category page, products either have an 'Add to Cart' button or 'Read more' button depending on whether each is purchasable. When I look at the ...
Agazoom's user avatar
  • 111
0 votes
0 answers
16 views

Conclude woocommerce-shipping-totals

I use a Plugin for my woocommerce Checkout (Fluid Checkout). I use different shipping Methods for different products. In this case I got for each Method one output in the checkout shipping totals. But ...
Marcel's user avatar
  • 1
0 votes
1 answer
97 views

How to detect changes in WooCommerce store (react)?

Since WooCommerce merged blocks in the plugin, the cart is now completely 'reactified'. Meaning I update the quantity on my cart, I see a network call to an endpoint, thigs update without reloading, ...
dingo_d's user avatar
  • 1,950
0 votes
1 answer
27 views

Woocommerce deleted and replaced my Wordpress front/page. How do I restore my original page?

Whilst adding a shop section my Wordpress site, I agreed to a suggestion from Woocommerce that offered to create a new homepage, thinking it was a customisable front page for the shop page. Instead, ...
Alex's user avatar
  • 1
0 votes
1 answer
30 views

Make Admin Side Fields Mandatory/Required

In the context of WooCommerce products does anyone know of a way to prevent a user from Saving Draft Updating an existing post Publishing Submitting for review IF specific WooCommerce product ...
Zakir Faizal's user avatar
0 votes
0 answers
21 views

How to change product SKU's in bulk with a plugin

Hey guys I have a Woo store where pretty much all my SKUs are wrong. I am trying to create a plugin to update all the SKU's in bulk but it is not working as should. Here is the code snippet: <?php ...
Alexander's user avatar
0 votes
0 answers
14 views

Add a product for all users based on a condition (WooCommerce)

Hello everyone in my wordpress website, I want to add a product to all users based on a condition, I mean if a condition is true I will inform specific users and then add the product for them, how can ...
Mahdi Ali's user avatar
0 votes
1 answer
130 views

WooCommerce custom add to cart buttons does not add products to cart if you're logged out

I'm actually doing custom template for my client. My client want to have few specific products to show with their add to cart button on homepage. On internet I didn't found the answer for this ...
Martin Orešanský's user avatar
0 votes
0 answers
33 views

Can't change WordPress / WooCommerce attribute value order

I'm making a website/webstore in WordPress/WooCommerce and ran into a problem with product attributes and swatches. We sell engraving materials (layered sheets) with a lot of different colors. So I ...
user23495269's user avatar
0 votes
0 answers
29 views

How to remove product number count in the category within the sidebar woo commence

I’m trying to remove the number count next to my products. I’ve tried the snippet code that’s circling around the net and tried css editing with the code but with no avail. I’m using Astra theme and I’...
Scott's user avatar
  • 1
0 votes
0 answers
43 views

Changing the all filename field of WooCommerce products

I have many plugins that use filename field of the file of my WooCommerce downloadable product, to show the download button! WooCommerce also does this here to display the file name in the user panel: ...
Monoor's user avatar
  • 13
0 votes
0 answers
11 views

WooCommerce product categories

I hope you're all having a great day. I have a question regarding WooCommerce product categories. Specifically, I'm interested in knowing if there is a way to add heading structure to the product ...
HASSAN TARIQ's user avatar
1 vote
0 answers
21 views

How to Add an option to display dimensions in both cm and inch in the Additional information tab in woocommerce?

My client wants to display the cards that are sold as product both in cm and in inch. How can I do it?
Jency's user avatar
  • 111
0 votes
1 answer
42 views

My account page, don't show the complete "Registration form"

my account page of woocommerce, is normally split in two, left side for registration and right side for login. The registration part contains only two fields: email and password. It's normal this view?...
Monnalisa Album's user avatar
1 vote
0 answers
32 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
13 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
36 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
80 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
39 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
53 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
28 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
23 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
20 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
17 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
14 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
17 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
187 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
78 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
63 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
28 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
23 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
20 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
24 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
252 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
28 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
  • 1
0 votes
1 answer
197 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
184 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
61 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
53 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
50 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
30 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
6 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
43 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
43 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
36 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
5 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

1
2
3 4 5
79