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
0 answers
8 views

I am having a problem with fetching product data in the Gutenberg block editor

const allProducts = useSelect((select) => { return select('core').getEntityRecords('postType', 'product', { per_page: -1, _embed: true, }); }, [postPerPage, orderBy, order]); console.log(...
Sifat's user avatar
  • 1
1 vote
1 answer
11 views

WooCommerce: Custom dropdown for variation selection

In WooCommerce, I have an attribute called License Type. This attribute has 2 terms: Single Site License Multi Site License With the above, I'm trying to create a custom select dropdown, where the ...
Freddy's user avatar
  • 157
0 votes
1 answer
17 views

Could WP ERP be the right software for a dropshipping business? [closed]

I am planning to resell wine through WooCommerce and will be handling most sales via cold calls, requiring manual order entry into the CRM. I need a solution that integrates WooCommerce, a fulfillment ...
Andres russo's user avatar
0 votes
0 answers
12 views

_sold_individually value change when add to cart

I have wordpress setup with woocommerce. Now I have set the option Sold individually to yes check the screenshot But when I click on the add to cart button of that product and check the value again ...
urfusion's user avatar
0 votes
1 answer
15 views

How to display customer email within the meta order data box

On the order details page, i’d like to display the customer email in a distinct div in raw format and add a little copy-to-clipboard jQuery plugin like on the attached screenshot I played around with ...
Decoy_Octopus_'s user avatar
0 votes
1 answer
19 views

Woocommerce products permalink based on SKU

I use this code in Wordpress (Woocommerce) to change products link: function jpb_custom_meta_permalink( $link, $post ){ $post_meta = get_post_meta( $post->ID, '_sku', true ); if( empty( $...
Abdolaziz's user avatar
0 votes
0 answers
16 views

Add a custom field for sorting the products in a specific category WOOCOMMERCE - Second try

Hi, mainly I need to add an "orderby filter selection" in the above dropdown menu, in WOO product category widget, based on an ACF field. The final "OrderBy dropdown menu" content ...
frank1971's user avatar
2 votes
0 answers
19 views

Custom Search Function in WordPress Returns No Results

I'm trying to integrate a custom search function in my WordPress site where an external API is used to determine search results. The function is supposed to retrieve a list of post IDs from the API ...
Juned Adenwalla's user avatar
1 vote
0 answers
15 views

Woocommerce: hide “Price display suffix” when the VAT is zero

is there a way to hide the “price display suffix” of the products when the VAT is zero? (I’m currently doing some test on a local test site). For example, the shop is set in Germany, the products have ...
Dande's user avatar
  • 35
0 votes
1 answer
22 views

Bulk delete 'Global Attributes' in WooCommerce via WP-CLI?

Is it possible to delete the global product attributes in WooCommerce by using WP-CLI? I've often cleared out Users, Orders, and other items using something like this... wp post delete $(wp post list -...
fyrekcaz's user avatar
0 votes
0 answers
11 views

Need help adding currency conversion to this code

I found some code here: https://wisdmlabs.com/blog/woocommerce-set-minimum-cart-amount-user-role/ that prevents wholesale customers from putting in an order unless they satisfy a minimum cart amount. ...
Mr. Victor's user avatar
-1 votes
0 answers
11 views

Can't login to WordPress due to plugin

I can’t even go to the site and change the plugin. Writes about activating Jetpack. Fatal error: Cannot redeclare get_cli_args() (previously declared in /var/www/u2709947/data/www/masterstroi-sura.ru/...
Амина Янбулатова's user avatar
2 votes
1 answer
37 views

WooCommerce Webhook Action When a New Product Review was Submitted/Created

I'm looking for a WooCommerce action hook, whenever someone submits a product review via the review/comment form. Can't find anything about this in the documentation or web. I like to trigger a ...
Bert Kößler's user avatar
0 votes
0 answers
8 views

Checkout page not loading on my ecommerce website

i was building an ecommerce website with woocommerce and it was going great and i added the woocommerce quick buy now plugin and after that the checkout page is not loading i tried everything disabled ...
Steny Jose's user avatar
0 votes
1 answer
38 views

Error: DNS_PROBE_FINISHED_NXDOMAIN WordPress / Woocommerce

I manage a website created in WordPress with the Woocommerce Plugin. Everything was going well until one day I noticed that some products show an error when viewing them. It practically shows the ...
Diego Escobar's user avatar
0 votes
0 answers
19 views

Woocommerce ajax checkout get wc_checkout_params is not defined

I have make custom option fileds for local pickup and is working before but after i have update all my plugins i ger the error input <input type="checkbox" class="input-checkbox"...
user2067621's user avatar
0 votes
0 answers
29 views

Add a custom field for sorting the products in a specific category WOOCOMMERCE

I’d like to add a custom field for sorting the products in a specific category. I have some products that are visible in different categories and I need that these products will be sort in different ...
FrancescoTopspin's user avatar
0 votes
2 answers
33 views

category id (term_id) in url instead of slug

For a certain Wordpress shop with woocommerce we need the url to display the category id (term_id) instead of the normal slug with the category name. So instead of www.website.com/categoryname/ it ...
Martin's user avatar
  • 1
0 votes
1 answer
38 views

Adding extra cost to woocommerce flat rate based on shipping zone

i found solution here to count flat rate based on specific quantity steps in woocommerce, what i need additionally to add an extra specific amount based on shipping zone. for example : i charged ...
Shehab Zahran's user avatar
0 votes
0 answers
11 views

Struggling with Per-Item Shipping and Classes

Needless to say, I’m in Woo Shipping hell. I can’t figure this out. I’m trying to set a rate table shipping method to a shipping class and then assign that shipping class to a product. If you look at ...
Wiser Rhino Designs's user avatar
0 votes
0 answers
25 views

woocommerce permalinks like "?p=%post_id%"

I need to use a permalink to a product page in woocommerce like "?p=%post-id" The settings do not seem to work because I try this I get a link like "?p=15/name_of_product" While ...
Martin's user avatar
  • 1
0 votes
0 answers
11 views

Save customer email via WPForms on checkbox marking when placing the Woocommerce order

Does anyone know the way to save the customer's email & process it with WPForm, when they mark the checkbox to sign up for the newsletter on the payment/order screen? I have Google Sheet plugin in ...
Tomek's user avatar
  • 101
0 votes
1 answer
25 views

Loading specific ajax from a product

I'm new to wordpress, and I need some way to define a property in a new product that will then have it load specific javascript code related to that specific type of product. I may need to load a ...
Scott Wood's user avatar
0 votes
0 answers
9 views

WooCommerce: expiring date for products (and on sale some days before)

I am new to the portal. In WooCommerce I would need to associate with each product a date from which the product is on offer (possibly with the price lowered) and a second date from which the product ...
Fabio73's user avatar
0 votes
0 answers
18 views

Multiple shipping methods in one order

So basically, I'm setting up a WooCommerce shop for a client. For the shipping, we're using a third party plugin from a Sender (Collissimo) which set ups all the shipping zones and automatically ...
Gawet's user avatar
  • 9
0 votes
0 answers
16 views

Endpoint exists and shows up in My Account dashboard. Need to add endpoint to My Account DROPDOWN menu in Porto theme

NOTE: StackOverflow closed this question claiming it was a duplicate but there isn't any similar questions. I looked through the other "similar" questions but those were in regards to adding ...
Mr. Victor's user avatar
0 votes
0 answers
24 views

How to get selected variation from URL?

I create my own way of displaying the list of available variants on the product page. I display individual variants on the main page of the store so that when the customer goes to the product page, he ...
patryk siuta's user avatar
0 votes
2 answers
37 views

Is it possible to extract all product columns except for one?

I currently extract all product data in CSV format. There is also the option to select columns too. However, I sometimes want to exclude just one particular column, or maybe even a few others. ...
Mus's user avatar
  • 117
0 votes
0 answers
21 views

How to enable wc_add_to_cart_message?

I faced a problem and I have no idea how to fix that. I enabled "Ajax add to cart", and now wc_add_to_cart_message now shows the message that says "X added to your basket." I ...
Sallar Rabiei's user avatar
0 votes
0 answers
29 views

woocommerce, add free sample button on product page

want to add a secondary button on product page with the name "free sample". it will work just like the add to cart button but with price and quantity override. when somebody click on "...
vikram's user avatar
  • 1
0 votes
0 answers
21 views

Automatic assignment of multi images to products in WooCommerce/Wordpress with SKU

I am currently uploading product photos directly to Wordpress via a Lightroom plugin (WP/LR Sync from Meowapps). The file names of the images also contain the article number in the form arm-1001-01....
Redbeard's user avatar
0 votes
0 answers
15 views

Custom plugin development with paypal subscription method

I'm rying to create PayPal subscription button inside my custom plugin but there are some queries to resolv first, I only have single plan right now for ex. Test Plan. What will be better ? Payment ...
WP Dev's user avatar
  • 1
0 votes
0 answers
25 views

WooCommerce Coupon Code that is linked by a QR Code that can only be used once

For this project I would like to distribute unique QR Codes to users that redirect them to my WooCommerce site and offers a discount on a product. The problem I am facing is that I would like the ...
Brendan A's user avatar
0 votes
0 answers
57 views

Using WooCommerce Hooks to add product attribute descriptions to customer order email

My php days are long gone and I'm trying to achieve a "simple" customisation of the order email confirmation (processing and confirmed emails) sent to the customers of a Woocommerce webshop ...
Greg Vdo's user avatar
0 votes
0 answers
10 views

How to display woo commerce shipping_method on the product page

strong text How to display woo commerce shipping_method on the product page where customers can select the delivery type before adding to cart
Sauvik's user avatar
  • 1
0 votes
2 answers
23 views

Calculate order end date based on date and number of weeks ACF fields

We have 3 ACF fields added to Woocommerce orders - start date (pick_up_date), number of weeks (number_of_weeks) and end date (end_date) Start date and number of weeks are manually entered and the ...
nadyawell's user avatar
0 votes
0 answers
10 views

How to enable product wise product wise shipping in WordPress WooCommerce?

What are the most effective methods to implement product-specific shipping options in WordPress WooCommerce, allowing for both free and paid shipping on a per-product basis? Are there any recommended ...
Neer's user avatar
  • 1
0 votes
0 answers
24 views

Woocommerce plugin increasing Database size

My site is hosted on Hostinger, it's ecom site working on Woocommerce plugin. It is causing my Database increasing in every minute. I have run test on database using plugin to sweep old data also. But ...
Workplace Hussy's user avatar
0 votes
0 answers
65 views

how to works woocommerce cart hash

have a WordPress store and I built it using the WooCommerce plugin. Today, I encountered an issue with my site that I need help resolving. The problem is as follows: Imagine a scenario where a logged-...
MahmoodZamaniNemati's user avatar
0 votes
0 answers
20 views

WordPress Shipment

I am trying to set up an e commerce website. Now I'm trying to set up the shipment settings. My problem is that I want to sell some products that are really heavy. Therefore I want to set up a special ...
UnkownPresence's user avatar
0 votes
0 answers
15 views

Retrive the value of the Active variation of the product and then link it to the "read more" to dynamically change

Here is the code snippet where Only the tab-description is attached to the "Read-more". How to make it dynamically change based on the current active value of the Variation - material ...
Teresa's user avatar
  • 1
1 vote
0 answers
57 views

not saving the WC_Session_Handler session and removing the product from the cart session in WooCommerce's custom rest api

I have spent almost two days on this problem. I want to write a dedicated REST API for WooCommerce that removes a product from the user's shopping cart. I delete the product, but unfortunately the new ...
jack's user avatar
  • 11
1 vote
1 answer
42 views

Custom Captcha validation on the registration form issue

I made myself a custom CAPTCHA SUM type and it's working , however even if I add the right sum, my customer will not be created, not sure why and how to debug this. Here is my code: The wp-content/...
Attila Naghi's user avatar
0 votes
0 answers
20 views

WooCommerce Attribute Mapping

How to accomplish searching by Make and Model with data added as attributes? Basically I am facing this, I have a website for motorcycle parts and all the data is added as attributes so I have ...
h3k's user avatar
  • 1
1 vote
0 answers
203 views

PHPWord and DOMPDF: PHP Fatal error: Uncaught Error: Class "Dompdf\Dompdf" not found

I'm trying to convert docx to PDF on woocommerce hook woocommerce_checkout_update_order_meta and I've tried to make .docx from template and it worked well, but now I have to convert the docx to pdf ...
Martin Orešanský's user avatar
0 votes
0 answers
20 views

Football kit management system in WordPress

I am new to StackOverflow and familiar with the possibilities of WordPress and the plugins that come with it. Have build my fair share of WooCommerce websites with all the necassery plugins. The ...
Yoshitoka's user avatar
1 vote
1 answer
17 views

Modify existing code to show user nickname in woocoomerce order email instead of user_login

add_filter( 'woocommerce_email_customer_details_fields', 'add_user_id_to_woocommerce_emails', 10, 3); function add_user_id_to_woocommerce_emails( $fields, $sent_to_admin, $order ) { $user_id = $...
Jake W's user avatar
  • 11
0 votes
0 answers
26 views

Product data field for Woo Commerce is blank?

Why my product data field is blank, how to fix it?
My Nguyet Phan's user avatar
0 votes
0 answers
36 views

To many WooCommmerce related transients in WordPress options table

I have the following problem on my Wordpress installation. There are too many, hundreds to thousands of transients in the options table. And the options table grows and grows and grows. If I don't ...
ossicom's user avatar
0 votes
0 answers
8 views

Product image import

I have an Excel file with SKU, product name, and image. Then there’s another row with the same SKU and the same product name as the first row, but the image name changes, so it becomes another image ...
Wooaccount10's user avatar

1
2 3 4 5
79