Questions tagged [woocommerce-offtopic]

OFF TOPIC. 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
2 views

How to limit product quantities per category

I am trying to limit the amount of items added to the cart for specific categories, for instance, we have some balloon weights categories (foil weights, box weights etc) the issue is we want to limit ...
0
votes
0answers
6 views

why my function of woocommerce wordpress only pick first row from customize database table

I have selection of cities and price will change according to city selection. I have customize selection of cities which is coming from table from database in front-page-features.php get_results( "...
0
votes
0answers
5 views

Wordpress Product Authentication

Is there any plugins or any option available in WordPress for check authentication of products quality. I'm selling physical products.So prevent any local (duplicate) products. We put scratch card ...
0
votes
1answer
10 views

Change class woocommerce on function.php

I would like to change the woocommerce password reset button class. Is it possible from the function file of the child theme? How can I do?
0
votes
0answers
7 views

How to enable specific plugin only based around shop manager role?

I have created a nice clutter free dashboard for the shop manager role which gives permissions to edit, maintain the store and hidden unnecessary junk i.e widgets, updates etc The problem: The current ...
0
votes
0answers
10 views

I need help with removing the a href file from all of the item on the content-product.php

I am needing to remove the product link as pictured below from the I'm not sure how to do it. can some one please help me, any method such as PHP, html or other can be used. Thanks again Kind Regards
0
votes
0answers
7 views

How to add class to page if WooCommerce contains specific product?

I am trying to style the Woocomerce checkout page for when it contains a specific product category. If the checkout page contains the product of the category "Home" and no other type of ...
0
votes
2answers
19 views

Display “Add to basket” and “Read more” buttons in the products shop page with woocommerce

I've been playing a little bit with the woocommerce storefront theme and woocommerce, and I wanted to display the "Add to basket" and "Read more" at the same time on the shop page ...
0
votes
0answers
11 views

woo commerce display price as written

I would like to show price as written in admin page. The problem is the decimals: I have products with € 10,50 but I have also products with € 0,0850. If I set num of decimals to 2 in Woo Settings ...
0
votes
1answer
5 views

One Time Access URL after purchasing subscription

Here's the scenario: A client is selling a product which allows for ONE use of a Web App. The Web App has a simple URL, like www.company.com/app/the-awesome-tool (it's not publicly accessible) I've ...
0
votes
0answers
5 views

Sort terms of attributes by date modified or as per user selection, in product backed of woocommerce

Sort terms of attributes by date modified or as per user selection, Right now it is sorted alphabetically when we select any terms from the box in a product backed of woocommerce
0
votes
0answers
5 views

Woocommerce add custom item to cart

I am working on an item that cannot be defined in Woocommerce because it has too many options and customizations. I am programming a heavy ajax/html5 interface for this particular product and it's ...
0
votes
1answer
12 views

Is there a way to get plugins and themes not built for multisite to work on a network subsite?

Certain plugins and themes are yet to be multisite-compatible and i need to add important functions to some subsites. So i was wondering if there is way to enable such plugins to work on those ...
0
votes
0answers
8 views

Filtering products with meta key using woocommerce api v3 [closed]

I was going through the woocommerce api and its product fetching features. http://woocommerce.github.io/woocommerce-rest-api-docs/#list-all-products I understood that the new version 3 got different ...
0
votes
0answers
10 views

How to fetch WooCommerce products with 50% discount?

I want to make a deal page. where there will be different banners showing different deals and discounts. Now lets say a user clicks on the 50% discount banner he should be redirected to product page ...
0
votes
0answers
8 views

WC Update (just save) all Products at once (php?)

i need to save every single product again. but all at once since i have 1000 products. reason being is that im using the WC api to import WPML Translations and they need to be saved since WPML doesnt ...
0
votes
0answers
10 views

How can I add an input to an Order Item on the Checkout page?

I want to add an input text for every Order Item so the user can set some information for that Order Item on the Checkout page. I just found articles about adding input text to the product page and ...
0
votes
0answers
9 views

query string into woocommerce order [closed]

I like to add a extra field from a web query string. The field is already added with "Checkout Field Editor for WooCommerce" Now i want to add the table with the following link. Is that ...
0
votes
1answer
11 views

WooCommerce adding product to cart programatically [closed]

I have checkbox that when clicked should add a product to the cart ans when unclicked should remove it. Developer before me solved the problem using Fee's which should be changed to product. He used ...
0
votes
0answers
21 views

Create order actions from custom fields woocommerce

I am using Custom Order Fields Plugin in Woocommerece: I am using for eg Call status as a custom order field here which have multiple options like Positive, Call Not Picked, Pending, Wrong Number, ...
0
votes
0answers
14 views

Update Gravity Form entry after an order placed in WooCommerce [closed]

I have a registration form made by Gravity forms. After the client fills it up with their information and submit it, a new entry will be created in Gravity Forms entries and the client will be ...
0
votes
0answers
7 views

Woocommerce Custom product fields need to be editable after purchase in View Orders Page

I am Using https://stackoverflow.com/questions/46612499/display-a-custom-field-value-in-woocommerce-orders-edit-view/#answer-46615303 answer code, which works fine. I want to display that checkout ...
0
votes
1answer
15 views

Woocommerce add custom metabox to order with query variable [closed]

I'm a little frustrated with a problem. Externally I load to my website a custom query variable on the URL. Example: https://mywebsite.com/mypage/?source=webview?origin=Android Variables: source=...
0
votes
0answers
19 views

Mandatory Fields Error on Manual order pay page - woocommerce [closed]

I'm facing issues with required mandatory fields on the manually generated orders page (payment link through email). WooCommerce scenario: an order is created by admin. This order's payment link is ...
0
votes
0answers
10 views

Apply Coupon code on total amount not cart total

Apply Coupen code on total amount not cart total: /*Installtion Chrages Discount */ add_action( 'woocommerce_cart_calculate_fees', 'mysite_box_discount', 10, 1); function mysite_box_discount( $cart ) ...
0
votes
0answers
5 views

filter products with first letter of product tittle an all product archive pages

I want to filter woocommerce products with first letter of their titles by request of get method like: ?alph=A I try bellow code but had no success: in function.php add_filter( 'posts_where', '...
1
vote
0answers
12 views

how to get the categories for a single product in a hierarchical way

It's the first time I write here, but I really appreciate your work from long time. Well, I know there is a very similar question, but I can't get out the solution for my particular case. In a ...
0
votes
0answers
12 views

WooCommerce - Echo ID of Variable Product Default Attribute

I am trying to dynamically echo out the ID of the default attribute for variable WooCommerce products. Using $default_variation = $product->get_default_attributes(); so far I am only able to echo ...
0
votes
1answer
15 views

Grant (give away) virtual product via woocommerce [closed]

So I have a bunch of virtual products in my woocommerce shop -- if I want to give one away and add it to someone's account, but don't want to generate coupons and have to go through the "sale&...
0
votes
0answers
8 views

How can I get variation products that their variations are on sale with raw sql

I'm building a WordPress multisite. And I have shortcode that fetches on sale products. But it doesn't get variation products because they can't be "on sale". Only their variations can be &...
0
votes
0answers
8 views

How to display labels with the billing fields in woocmmerce order email [closed]

I want to display labels with Billing address. When customers send an order, their billing details have not labels. For example the Billing details should be something like this: Name: John Doe Phone: ...
0
votes
1answer
12 views

How to access product's meta data when deleting a WooCommerce product?

I'm not able to access the individual products for an order before the order is deleted. add_action('before_delete_post', 'removeCheckDetail', 99, 2 ); function removeCheckDetail( $order_id ) { ...
1
vote
0answers
6 views

I want to get the value of a select attribute in the checkout page, and then use it to show or not the delivery data

I want to get the value of a select attribute in the checkout page on WooCommerce, and then use it to show or not the delivery data. I have tried everything but it still does not appear, the object of ...
0
votes
1answer
18 views

I need help with storefront theme shop page

I know I might be asking for a huge request and I would appreciate it if anyone can help me with my storefront theme on woocommerce. I am planning to have a shop page similar to https://bloomscape.com/...
0
votes
0answers
11 views

woocomerce Order cancel Not Calculate with meta

i just try some great snippet code from [here][1] [1]: https://jeroensormani.com/custom-stock-quantity-reduction/ and it work better but i have some trouble when user canceled order, stock qty not ...
1
vote
2answers
8 views

Target WooCommerce Product Gallery Image (rather than Featured Image) for og:image

I'm using the following code to set my Open Graph meta data in functions.php It works great for selecting the featured image, however I would like to set it to use the product gallery image instead (...
0
votes
1answer
17 views

Run a sql (update) after 12 hours after the user login. Woocommerce users

How can I Run a sql (update) after 12 hours after the user login (for Woocommerce users) After 12 hours after a user login, I want to run a sql/ function to update a value in the database. To set a ...
1
vote
0answers
23 views

dividing sub-categories by parent category - WordPress

I am aware this question is very similar to previous questions however none of the provided answers seem to work for me. but my question is, how do I divide sub-categories by parent category? For ...
0
votes
1answer
17 views

Show audio player only in specific post type category

I have a code that autoplays audio and it is working well but the stuff is I want the autoplay to only run in a specified woocommerce category. Any help will be appreciated. The code is below. ...
0
votes
0answers
13 views

Add product category thumbnail to subcategories of the current product category in Woocommerce archives

I'm currently using an answer from this question to Get the subcategories of the current product category in Woocommerce archives. I want to also add category thumbnails to the listed subcategories of ...
0
votes
0answers
9 views

show variable product prices in woocommerce product page

first of all i apology for my EN it is weak. i used studiare template for my site and want to use two features like course type1 and type2 as variable for my products (with regular and sale price for ...
0
votes
0answers
14 views

WooCommerce display variable product attributes

I am trying to display attributes of a particular product (i.e. id: 459) that has multiple variations and trying to display some of the variations (i.e. name, id, link to the product and image) on the ...
0
votes
1answer
17 views

How Can I fix Woocommerce Billing Address Field? [closed]

I am trying to fix the Woocommerce billing address field in my Wordpress website. This field is inside the "my account" tab. It looks weird and I do not know how can I fix it? Note: "...
0
votes
0answers
11 views

Running JavaScript after using WooCommerce Filter Plugin

I’m using the Product Filters Plugin for filter products on my WooCommerce Store. I wan’t to do a complex design for the filter menu with JavaScript/jQuery but once I click on one of the filter’s ...
1
vote
1answer
18 views

How to override checkbox styles if these inputs have a unique id [closed]

I'm trying to override default input checkbox styles, but not good result. First of all these checkboxes and labels have unique ID. But if I try edit these checkboxes, no effect, because every ...
0
votes
0answers
15 views

Add text field next to the Add to Cart button in products page

I'm using leto woocommerce theme and product details page there add to cart -button is next to quantity -+ selection in default view. How to add two fields side by side in woocommerce? For example, ...
0
votes
0answers
18 views

Anonymous users can not access website

I have inherited a WordPress shopping website with WooCommerce. Prior to me, retailers used the website to place orders for the items to be sold in their shops. As a result, a forced login was ...
0
votes
0answers
8 views

How to display the store location when local pickup is selected?

I am using Dokan multi-vendor plugin with WooCommerce. I would like to display the store locationwhen local pickup shipping method is selected. Dokan doesn't change or manage cart, checkout, orders ...
0
votes
0answers
10 views

Remove child products from woocommerce category page makes filters not working

I have a installed a code in functions with code snippet plugin in order to make the cat_children products not to be shown in main category ig it's not checked in backend, but it makes my Brands ...
0
votes
0answers
15 views

Include stock information in WooCommerce order confirmation email

On a WordPress 5.6 website with WooCommerce 4.9/Storefront, I've modified my child theme's functions.php to display an estimated shipping date in the products description, as well as in the cart and ...

1
2 3 4 5
83