Questions tagged [woocommerce]

OFF TOPIC. Questions *specific* for this e-commerce plugin have their own forum at https://wordpress.org/support/plugin/woocommerce.

0
votes
0answers
3 views

WooCommerce Custom Query with high/low pricing and paging

I created a custom query in my template to show certain products. I would like to add a sort feature for pricing ascending and descending but have not had any luck. Here is my code on my template: &...
0
votes
1answer
8 views

WooCommerce - Hide price and add to cart button

I need to hide the price and add to cart button for non logged user on my website, I try with some code I found on the web but it's not entirely working. Here is the code : add_action('...
0
votes
0answers
6 views

Custom attribute type not displaying terms in edit product - WooCommerce

I'm facing an issue where: I've created a custom attribute type Created an attribute, called it 'test' Added one term to the attribute, and called this 'Hi' Go to edit the varations in edit product ...
0
votes
0answers
14 views

How do i create a Varation add to cart button

Im using Yith Memberships premium plugin for Wordpress and Woocommerce, I have created 3 Woocommerce products. Each product i created within Woocommerce is configured with yith Memberships. ...
0
votes
0answers
7 views

Change cart price in cart page

I want to have an option in my cart so that when a user clicks on it, the price of the cart (or every product in the cart) reduces by 30 percent. I searched and find the ...
0
votes
1answer
11 views

In woocommerce, is it possible to add extra shipping when specific products in cart?

I want to add extra shipping charge automatically when specific products are added in cart. Is it possible ? How ? Thanks in advance.
0
votes
0answers
8 views

Woocommerce Membership ending soon - multiple reminders

Is there a way to send multiple email reminders to Woocommerce members when their plan is about to expire? eg.send email reminder at 30 days, 20 Days, 10 Days, 1 Day It looks like Woocommerce ...
0
votes
2answers
17 views

How to know the page from which a product is added to the cart? - WooCommerce

I want to know, on the wc report page (or somewhere else), the page from which a product is added to the cart. I'm working at an online food market which has a recipe blog, on each recipe page there ...
0
votes
0answers
4 views

Show and group products by category on checkout page and order confirmations

I am trying to have my CART and CHECKOUT pages display the category that a product belongs to, and also group the products by that category no matter what order they were added to the cart in. I'd ...
0
votes
1answer
12 views

Enable Payment gateway if ACF checkbox in user profile is checked

I have added a way to enable the Woocommerce COD (cash on delivery) payment gateway for a user role of "account holder". /** * Enable COD */ function cod_enable_manager( $available_gateways ) { ...
0
votes
0answers
11 views

Taxonomy Query String convert to Url

In my site, I use woocommerce and a plugin filter to combine wordpress category with custom taxonomies. If I in my sidebar filter I select one category and one custom taxonomy i have this link ...
0
votes
0answers
12 views

WooCommerce Cart Order Grouping

Is there a way I can "group" potential "orders" in my cart? I have a site, which has a sort of menu... where-in I have created a batch of items in order to build out a "mix n match" type of meal. ...
0
votes
0answers
5 views

Override translation, only if new translation exist

I wanna override some parts of WooCommerce from English to Swedish - but just some parts. The translations I wanna override is kind of unique to my theme so therefore I felt like the best solution ...
0
votes
0answers
15 views

Tax exclusive if coupon applied else tax inclusive in items

I have setup taxes inclusive for all my items and filled MRP in price. But now I want to apply tax inclusive if customer didn't applied coupon i.e. buying on MRP. But when customer applies coupon I ...
0
votes
0answers
10 views

Add Product Permalink Before Order Item Meta

I am using the following code to add product permalink in woocommerce admin order page- function fpd_custom_order_item_values($_product) { $url = $_product->get_permalink(); echo '<p&...
0
votes
0answers
12 views

Filter woocommerce variation attribute values based on selected date

I am trying to make a product. This product is some sort of arrangement. The product with options should look like this: Choose date Choose breakfast location Choose drink location Choose diner ...
0
votes
0answers
17 views

Using filters to add a link to the archive headings in Woo Commerce

In Woocommerce on the content-single-product.php template page, there is a woocommerce_shop_loop_item_title_link hook. What I am attempting to do is wrap the title in an a tag. The template out of ...
0
votes
0answers
7 views

How to replace name of shipment method with another value in dashboard / order?

I've created a shipping method that fetches a servicepoint (location/store) when entering street and postal code. That works at the frontend. The shipment method is called DHL Sweden. When I go ...
0
votes
0answers
11 views

How can display image on woocommerce product page?

i already have code written but didn't know how can link my image with this function listify_cover( $class, $args = array() ) { $defaults = apply_filters( 'listify_cover_defaults', array( ...
0
votes
1answer
15 views

Add Product Permalink in woocommerce admin order page

I am trying to add the permalink of product on woocommerce admin order page with this code: function fpd_custom_order_item_values($_product) { $url = $_product->permalink; echo '<p>'.$url....
0
votes
1answer
18 views

WooCommerce: after install hook

There is some hook that is triggered after WooCommerce Install (I mean the WooCommerce Wizard, not the plugin installation)? I didn't found a hook to do this and the Wizard Class (...
0
votes
0answers
23 views

How can I update all product data in woocommerce based on the attribute selected or variation selected?

I want to update the woocommerce product page based on attribute selected. Normally it just shows the parent product info. So i am looking to update the data such as such as title, description, ...
0
votes
1answer
27 views

Send a different “thank you” email based on payment method

In wordpress/woocommerce config, we use the "COD" payment method to place an order, then our office staff manually sets a shipping quote, and sends a second email to the customer with their order, a ...
0
votes
1answer
18 views

How to add contact seller button in product page

can someone help me with this issue ? I want to add a button in my product page and name it (contact seller) and I want to link this button to the seller page. how can I do it ? here is a screenshot ...
0
votes
0answers
6 views

Woocommerce cart issue

Currently, When logged in user add product in the cart then if he login from another device, he can see the product added in cart automatically. But I don't want this. I want to disable this system. ...
0
votes
0answers
8 views

WooCommerce sorting-order in responsive layout wrong

I have a problem with my main WooCommerce-Shop page: I have 6 products in it, which should be sorted by names as follows: 1, 2, 3, 4, 5, 6 This works fine on a PC or Device with a large display width (...
0
votes
1answer
12 views

why get_the_post_thumbnail( the_ID()) echos extra post id

I have the following snippet which adds post thumbnails to products on archive page if matches a given product category, which will output the image but echos the the post id as well. How do I ...
0
votes
1answer
23 views

In woocommerce, is it possible to make payment of one customer order by another customer?

In woocommerce, is it possible to make payment of one customer order by another customer ? i.e. If customer A place an order and customer B make payment of this order. Thanks in advance.
0
votes
1answer
34 views

Woocommerce redirect “add to cart” button to a contact form with product information to get a inquiry

I am trying to replace the "add to cart" button in WordPress With "Send Inquiry", Which sends an Inquiry regarding the product, Bypass the Cart Option and use it in a Contact form, Used a simple CSS ...
-1
votes
0answers
19 views

Staging to live , except woocommerce products and orders

I have a staging environment of a wordpress website. now I want to push it to live version. but I do not want to push woocommerce orders and products. I know it is stored in wp_post table. but If I ...
0
votes
1answer
39 views

the_content() not displaying description correctly

I'm trying to display a description of a WooCommerce single product, but the instead of displaying the correct description, the loop starts over again displaying the image, price, add to cart etc. I'...
-1
votes
0answers
25 views

AJAX error at XforWooCommerce plugin less compiler [URGENT!]

I buy XforWooCommerce plugin but it all the time cause a some "AJAX error!" on CSS compiling and all logs points that error occur at/by less-compiler. XforWooCommerce developer Mikhailovich Nenand are ...
-1
votes
0answers
23 views

oceanwp elemetor elements missing

i try to follow a tutorial about designing custom header , this one: https://www.youtube.com/watch?v=xXrHOptvF1c , but when i try to find logo and ajax search widget in oceanwp elementor element i don'...
-2
votes
0answers
12 views

How to Make “Login to see prices” Text as a Button?

I'm customizing my first site and for logged out users I want prices to be hiden and instead to be shown "Login to see prices". This guide solved it but the message "Login to see prices" is shown as ...
0
votes
0answers
15 views

Delete product image using WooCommerce API?

I'm trying to remove product image (one at a time) using WooCommerce API but I'm facing a strange problem. I can remove all associated image at once by sending an empty array in images: { images:[] } ...
0
votes
0answers
8 views

Woocommerce cart product save for user

By default, woocommerce save products at cart by browser basis. But I want to make, When users will be logged in and have cart products then products will be saved for that user. And when he will ...
-2
votes
0answers
11 views

Different Tax for different User/Vendor

i need a modification, urgently! On my page, various sellers can register and offer their products. In Germany there is the value added tax regulation "§19 Ustg". This regulation exempts you from VAT....
0
votes
1answer
24 views

Add Shortcode to ::before class

I want to add a button (that will open an INFO popup screen with info about a certain option in a woocommerce variable product), all that can be easily created with a plugin that converts the whole ...
0
votes
0answers
9 views

Woomapper problem? [closed]

we are making a new website and we are facing a technical problem with one of the used plugins. The plugin is called "Woomapper" (You can check it here : https://bit.ly/2WED3Ur). The problem is that ...
0
votes
0answers
15 views

Display all subcaegories when parent category is selected in woocommerce

When i select( check on checkbox ) parent category i need to check all the subcategories belongs to that parent category and display all the products. I can’t able to find this option in Woocommerce ...
0
votes
0answers
9 views

Woocommerce Also Show Product Price Without Tax

I want to show product prices tax included and without tax on product page. Is there any way ?
0
votes
0answers
8 views

add to cart button not adding products in cart only in safari and edge browser

Add to cart button not adding products in cart only in safari and edge browser on other all browser working fine please advice
0
votes
0answers
14 views

Empty Cart on just mobile and Microsoft edge browser

any help highly appriciated, i can add products from chrome and mozillah but cadding to cart not wokring on ms edge and safari also not on ios devices. highly highly appriciated any help http://www....
-1
votes
0answers
11 views

Replace a part of code woocommerce

I changed a part of code of Woocommerce (/wp-content/plugins/woocommerce/templates/single-product) and I would have liked to know how to save and declare it in my theme, to avoid leaving my modified ...
-1
votes
0answers
13 views

My Account navigation not displaying in other languages than EN

Baseline ; I'm working on a legady project where they used WPML + Woocommerce plugins. They have 5 languages. The default one is IT. They made translations of My Account page and inserted the ...
1
vote
1answer
28 views

get current product name in functions.php

i create a button in a current product page after woocommerce_single_product_summary i would to get information about the current product ( for example name and price) and through the button send an ...
0
votes
0answers
13 views

Automatically associate the product image with the SKU

I manage a website that references more than 40,000 products. We used WP ALL IMPORT to import the products (more than 48h of import), and we had problems with images that are not imported while they ...
0
votes
1answer
22 views

Create a Custom menu item fetched by Product Categories and Sub Categories

So one of our clients uses an ERP in order to update the products of woocomerce in his wordpress website. The ERP is updating the database directly for everything regarding the products,categories,...
0
votes
1answer
17 views

Get a list of Product Categories inside a loop

I am trying to list out product categories as a list Farm Cycle: 6 Months KADUNA The code below output as Farm Cycle: 6 Months, KADUNA add_action( 'wpo_wcpdf_after_item_meta', '...
0
votes
1answer
11 views

main menu hide woo commerce single products tittle

sorry maybe its off topic but i couldn't find any answer in oceanwp and woocommerse forums i use oceanwp them and elementor for design and my problem is main menu hide single products tittle ...