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

my website cant handle 200 users at once

I have woocommerce website that has only around 150 products, and i am facing an issue where the website cant handle more than 150 people on the website. below are my points I have deleted unwanted ...
0
votes
1answer
11 views

WooCommerce Product detail page: Add content under thumbnails

I am trying to add content under the product feature image and its thumbnails using action woocommerce_before_single_product_summary but the content goes on the top of the image and content. ...
0
votes
0answers
9 views

Wordpress Woocommerce REST API JSON Error

I have a problem with Rest Api, I am using Automattic Woocommerce Rest Api to search categories, I am getting this error: PHP Fatal error: Uncaught Automattic\WooCommerce\HttpClient\...
0
votes
2answers
13 views

require_once() if a product in woocommerce contains a tag

I try to require_once() a file, if the condition of a specific tag is met, on a woocommerce single product page. I've added following to my functions.php if(has_term('xyz', 'product_tag')){ ...
0
votes
0answers
15 views

How to hide order number from link or generate random order number with link (woocommerce) [closed]

How to generate random order number for customers? The customer places an order for a product. The system assigns a consecutive number upon request. I can use e.g. plugin: Custom Order Numbers for ...
0
votes
0answers
11 views

try to add order item name column in woocommerce Analytics -> Orders report table (and output to csv file) [closed]

I am trying to add a column to the table provided by order in woocommerce analytics, and the item name (not product name) of this order is displayed on it. I added a hook and tried to extract all ...
0
votes
0answers
12 views

How to remove Login from in my account page

I have created sperate login / register form in my website.. But when a user click on my account they are getting login form.. So how can I remove it ? I already have done some basic woocommerce ...
0
votes
1answer
10 views

data-value for custom woocommerce field showing in code but not visable on page load

I have the code below (not written by myself) which has a li data-value populated - however this is not showing next to the date on the product page, the date is showing correctly but the location ...
0
votes
0answers
9 views

Multisite login - registration is duplicated

I am running a Multisite installation of Wordpress that runs WooCommerce. There six subsites, three of which are a traditional B2C retail and another three that are B2B Wholesale. Anybody can access ...
0
votes
0answers
11 views

Storing Woocommerce cart items in a temporary cart and restoring afterwards [closed]

I want to remove all the items in cart and store them in a "Temporary cart" IF a booking has been found in the cart. In case the user leaves the checkout page, whether with a successful ...
0
votes
0answers
6 views

How to add countdown delivery timer in my account page woocommerce

I have a woo commerce website where I sell services and I need a countdown timer in my MYACCOUNT page for individual customers. whenever someone orders a service a timer should run and display time ...
0
votes
0answers
6 views

Customize the Sorting Dropdown in WooCommerce use another list or more page

it would be great if there was a way to change the default sort by dropdown in WooCommerce on the shop page. but I want to use list page or other page for default sort by dropdown in wp-query.
0
votes
0answers
14 views

use woocommerce rest api for accessing wp multi sites [closed]

I've start to use woo rest api to get info on orders and so far everything is good, i have woocommerce on a multisite so there is an installation of woo on each site, i got all order from one site by ...
0
votes
0answers
30 views

WooCommerce - 500k Jump in Order Number?

We run a WooCommerce site and last week noticed that our order numbers increased dramatically by 500,000 (ex. 8088 to 508098). This was alarming to our fulfillment team. I understand that WooCommerce ...
0
votes
0answers
10 views

how to retrive data by meta data from woocomerce api

I want to retrieve orders from woocomerce API by delivery boy id. id was available in order meta data. there was many meta data available. product meta data order meta data. i want to retrieve meta ...
0
votes
1answer
16 views

Hide product title on a certain product page? [closed]

We're building a website and using a custom plugin which showcase a product on a composite product the customer is "building". The Product Title showing in the summary is unnecessary and ...
0
votes
0answers
22 views

Woocommerce multi step order [closed]

I want to create a reservation/booking multi steps selling service like the reservation of a hotel in the example: https://safirhotel.net/booking Please push the "Book" button, then you will ...
0
votes
0answers
10 views

Woocommerce stock is dwindling without anyone doing anything [closed]

The store’s stock is running low without anyone doing anything. It is very problematic because the products run out of stock and cannot be sold. Are there any solutions to the problem?
0
votes
0answers
23 views

Display custom field value in woocommerce variable product via jQurey

I try to display the custom value fields that each variation has. I use this code to display variation id and variation description: add_action( 'woocommerce_before_single_variation', '...
0
votes
0answers
15 views

Any Subscription plugin that allows to change the quantity of the item depeding on the subscription options [closed]

is there a subscription plugin that has the ability to change the quantity depending selected subscription option? E.g If I select the 2 month supply option, the quantity increase to 1 so instead of $...
1
vote
1answer
27 views

paypal not showing on woocommerce payments

Had install a fresh wordpress installation on localhost, and after install woocommerce plugin, the paypal default - payment isnt there on woocommerce tab "payments". On the live website ...
0
votes
0answers
10 views

Page does not contain the [woocommerce_my_account] shortcode [closed]

How to fix this? While on the edit page I can see this shortcode. It returns 404 for the view order page and subscription.
0
votes
1answer
20 views

Woocommerce: add to cart check quantity tooltip

When clicking the 'ADD TO CART' button on my website, the quantity input gets checked against the quantity in stock and returns a tooltip as below. I would like to edit this tooltip to append some ...
0
votes
0answers
24 views

WP_Query - sort the results by meta value custom attribute wocoomerce

I’m trying to sort products by attribute value. The attribute value is alphanumeric I started from this code Trying with the following code add_filter('woocommerce_get_catalog_ordering_args', '...
0
votes
1answer
20 views

How to change woocommerce checkout privacy policy, terms and condition text [closed]

I can change the translatable area of terms and conditions or privacy policy area but didn't find any way to change the "privacy policy" and "terms and conditions" text of the link....
0
votes
0answers
15 views

Woocommerce Checkout Page Total Price Inside Google Pay Script

I have the following Google Pay script below and I am trying to replace the 1.00 for totalPrice with the total price (number) on the checkout page of my standard Woocommerce/Wordpress website: <...
0
votes
1answer
17 views

How do i add color swatches to woocommerce attributes without any extra plugins [closed]

I`m looking for a way to add simple color swatches to woocommerce attributes and be able to filter them by color. Without any plugin. How can i do this programmatically way with functions or classes?
0
votes
0answers
12 views

How to assign a custom field value (URL) to featured image for woocommerce products

I'm using wordpress automatic plugin to import envato products to Wordpress. But, the preview image on themeforest is not assigning as the featured image. I'm trying to import them as woocommerce ...
0
votes
1answer
17 views

Woocommerce disable order item link (backend)

I'm facing a problem where I couldn't disable the order item link for the backend (user role: shop manager). I've found some solutions but only tackle to the front end (customer-order page). However, ...
0
votes
1answer
16 views

How can I show "sold out" instead of "out of stock" for some products with particular tags and categories [closed]

hello comradesHow can I show sold out instead of out of stock for some products with particular tags and categories. add_action( 'woocommerce_before_shop_loop_item_title', function() { global $product;...
0
votes
0answers
14 views

WooCommerce variable product can not add to cart using ajax after updating latest version of WooCommerce

if ($passed_validation && WC()->cart->add_to_cart($product_id, $quantity, $variation_id) && 'publish' === $product_status) { In this condition WC()->cart->add_to_cart($...
0
votes
1answer
9 views

Customize WooCommerce Add To Cart Form Name

I've created Google Tag Manager and Google Analytics process to capture the Form Name in an Event across the site. For WooCommerce, there's no form name on an Add To Cart form, though. Here's what it ...
0
votes
1answer
17 views

Create a Search Form that only Searches with WooCommerce Sale Products

I am trying to create a search form that will search within products that are on sale/promotion within WooCommerce. Here is what I have so far: <form method="get" action="<?php ...
0
votes
1answer
19 views

Remove Zero Money From Previews Order woocommerce

I have had many orders in the past that the currency is different and has 4 extra zeros. I want to remove these 4 zeros from them and change their currency together. please help me
0
votes
0answers
10 views

Visual composer custom element error

I am creating a custom element where I need to load woo-commerce product categories as dropdown (in visual composer element edit option) but I am getting this error. can someone tell me where is the ...
0
votes
0answers
10 views

Add custom product data using javascript when add to cart button is clicked

Is there a way to add custom data to the cart using javascript? The data is from URL query params. I have tried using woocommerce_add_cart_item_data and setting query-vars etc, but my data is not ...
0
votes
0answers
14 views

Update WooCommerce Sale Price & Date Based On Attribute Value

I want to update product sale price and date based on product attribute value. I have added the code below. If my attribute 'Campaign' has value '10' then the regular price will be multiplied by 10 ...
0
votes
0answers
13 views

How to get brand children with woocommerce brands

I am running into issues attempting to get the child brand terms for our product page. Product brands are setup like this below. BRAND MODEL MODEL MODEL BRAND MODEL MODEL ETC.. I am trying ...
0
votes
0answers
16 views

Woocommerce display orders with products from specific categories to specific admins

I am new at stackoverflow. I have a question about wordpress. I am building a wordpress site for some cinemas with movies. Each cinema is a product category. I want enable an admin cinema1 which will ...
-1
votes
0answers
17 views

Is there a reason why import/export Image Alt text, Caption and Description is not natively support by Wordpress?

I'm relatively new to Wordpress development, there are many things I don't understand. It took me some time to have a basic grasp of how media library works so you can tell I am a slow learner. ...
0
votes
0answers
7 views

Set all WooCommerce Products to Simple, Virtual & Downloadable

I want so set my all products of my WooCommerce store to Simple -> Virtual and Downloadable Programmitacly. And hide all the Unwanted tabs & fields like shipping, Inventory, etc.
0
votes
0answers
15 views

Hide an order status on WooCommerce from a user role [closed]

how to hide the custom order status "Check Out" on WooCommerce from a specific user role, we have Traveller WP Theme installed using WooCommerce for rental units booking & i have a user ...
0
votes
0answers
13 views

How to allow downloads access to Customers for specific time? [closed]

Is there any way to allow customers to access download or get update the Downloadable products only for 1year. Just like another Downloadable site like WooCommerce.com, Yithemes.com, and some other ...
0
votes
0answers
10 views

Add shortcode to show woocommerce shipping class name on product template

I would like to generate a shortcode via PHP that'll show the shipping class name of the product on elementor single product template. Can anyone help? Thanks in advance.
1
vote
0answers
15 views

How to add a greeting message upon logging into Wordpress for certain user role

Howzit everyone, I have an woocommerce store with one special user role that has a discount store wide and extra discount on one category. I used Memebers plugin to create new user role and ...
0
votes
0answers
19 views

Executing code after a button click - woocommerce

I want to create a plugin that execute some code (an api call) after a client clicks a specific button in their wordpress. Is it possible to make some button click execute my function ? If not i would ...
0
votes
2answers
43 views

Display top level parent category as a single product body class (Woocommerce)

I'm beginning in PHP and I'm building a little shop with WooCommerce. I'm trying to display the top level parent category of a product in the body class. This code works well : function ...
0
votes
0answers
9 views

How to hide order action button after changing order status to completed

function sv_add_my_account_order_actions( $actions, $order ) { $actions['refund'] = array( // adjust URL as needed 'url' => '/refund-cancellation/?&order=' . $order->...
0
votes
0answers
12 views

Show prices with tax Inclusive in Minicart widget

I have set up my tax configuration to show prices excluding tax in Cart and Checkout and Tax Inclusive in shop page. However after i added a product to basket/bag,i see that the prices displayed in ...
0
votes
0answers
11 views

Save product short description in order (without updating in order details if it is updated in product)

I understand that it is possible to display the short description of the product on the order details page, even in an email. But I need this not to update when I update the short product description. ...

1
2 3 4 5
78