OFF TOPIC. An e-commerce store plugin. Questions *specific* for this plugin are off-topic.

learn more… | top users | synonyms

0
votes
0answers
45 views

Emails are being sent using the backend language - Woocommerce + Wpml

I'm using Wordpress + Woocommerce + Wpml , and for some reason my 'new order' emails that are being sent to the customers are being sent using the backend admin language (which is -not- english be ...
-2
votes
1answer
52 views

how to display “for sale” only on product with price

Here is what i need to do in WP woocomerce site. There is a bunch of product +- 50 BUT only 10 of them are for sell online, because of the price and the possibility to ship. I like to show all ...
0
votes
1answer
24 views

Change WooCommerce Checkout Button - Reverts to normal

I am trying to change the checkout label and placeholder for the postcode field. However using this code: function custom_wc_checkout_fields( $fields ) { ...
0
votes
0answers
86 views

Custom Woocommerce Gateway Callback Trouble

I'm trying to add custom payment gateway for Webpay payment system (Belarus) to woocommerce plugin. I've almost finished the task, but have one trouble. I've add my gateway to woocommerce and ...
0
votes
1answer
21 views

Pagination adds product to cart Woo-Commerce

In my WordPress Woo-Commerce theme when a product is added to cart from shop page its added into the cart with a url e.g /shop/page/3/?add-to-cart=149 and when I switch to another page using ...
0
votes
0answers
31 views

WooCommerce make the top variation field clickable but the other field variations not clickable

Basically, I am creating a booking system with woo commerce, and I currently have the variations set up so that there are start time, start date, end date, teacher, sessions and experience level. The ...
0
votes
0answers
21 views

ACF field get blank

Create a custom field. Its kind of datepicker and field name is start_date It is used in a spesific Wocommerce product category. Then I want to use in my WooCommerce single theme. So put this code in ...
0
votes
0answers
53 views

Adding number of items in cart at the beginning of the <title> tag using Javascript

I'm working on a WooCommerce site and I'm trying to add the number of items in the cart, inside of the <title> tag. The thing is: I've been looking for all over the place where the ...
0
votes
0answers
108 views

Cannot login in Wordpress even after changing hash password in phpmyadmin

An hour ago I changed the password of my Head Admin user. But after this I was not able to login anymore. So I have tried to reset the password in PHPmyadmin with the md5 encoding and even with this ...
0
votes
0answers
25 views

add hook after woocommerce_after_short_description

I am trying to show the WooCommerce tabs AFTER the woocommerce_after_short_description, but it replaces it. why? // Removes tabs from their original loaction remove_action( ...
0
votes
0answers
52 views

Woocommerce variable product doesn't save the field data

I'm trying to make this post meta into variable product meta, but it doesn't save the data! I changed `// Meta add_action( 'woocommerce_product_options_general_product_data', array( $this, ...
-1
votes
1answer
211 views

Facebook Pixel + WooCommerce + AJAX = Confusion

I am trying to add a Facebook Pixel (tracking) to the WooCommerce Add to Cart button, using: <script> fbq('track', 'AddToCart'); </script> The problem is that when a user clicks on Add ...
0
votes
0answers
144 views

WooCommerce duplicate sub categories and product slugs

I'm building a website that allows you to hire or buy a product. I've set up the following product categories in WooCommerce: Hire Buy Is it possible to have the same sub-category slug under each ...
-2
votes
1answer
34 views

Many variations, best practice?

I think i'm doing something wrong with variations on Wooocommerce My online shop is for clothes. Some products like jeans have a lot of variations Example (attribut, term): Color: Blanc, Bleu ...
0
votes
2answers
125 views

Re-order Woocommerce single product and echo div around moved & duplicated Woocommerce hooks

How do I wrap a div around the actions in the code below? PHP in functions.php file: remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 ); add_action( ...
0
votes
1answer
74 views

Woocommerce custom Plugin in wordpress [closed]

I want to access the ID of the product currently being displayed on the page. I am trying to do this in a separate custom plugin. I have tried global $post and global $product and get_the_ID() methods ...
0
votes
0answers
67 views

get_the_ID Wrongly Getting Child Category ID

I have WooCommerce product categories with parent and its child categories. The get_the_ID() function on the parent category seems to wrongly retrieve one of the child category ID's. How can I ...
0
votes
1answer
47 views

CPT or Custom Table for Repository of Serial Numbers

My app allows users to purchase products from a WooCommerce store. But I need to attach a serial number (cannot be generated on the fly) to each product, depending on type, size and design. The ...
0
votes
0answers
104 views

Display Woocommerce Orders for specific author

I tried finding lot of options and used lot of functions so far in my woocommerce theme but i am unable to find any solution for this issue. This platform is my my only hope so far. What I want? I ...
0
votes
0answers
17 views

wp_set_object_terms being undone

I am trying to set some object terms on a Woocommerce product when it is saved. My code is as follows. add_action('set_object_terms', 'update_attributes_after_save', 99, 3); function ...
0
votes
0answers
113 views

Dynamic attachment WooCommerce Follow-Up Emails

I am using the WooCommerce Follow-Up Emails plug-in for my clients website. With this plug-in, I send a e-mail directly after the order has been finished, containing a custom template with WooCommerce ...
0
votes
0answers
286 views

Show variation images in custom WooCommerce template

I have created a custom template for single products, but the images are not changing according to variations, such as default WooCommerce functionality. <div class="variation_images"> ...
1
vote
0answers
156 views

Woocommerce Custom Loop

I am trying to create a custom loop page to display a list of products so instead of using woocommerce_get_template_part('content', 'product'); which work I copied the template code so i could ...
0
votes
0answers
140 views

WooCommerce order bulk edit with custom hooks in function.php

I'm working on a Wordpress site with WooCommerce. I have to implement some additional functions, one of them is some simple operation after marking the order completed. I use ...
0
votes
0answers
98 views

Display Woocommerce Sale Price product Only with filteration?

$q->set('post_type','product'); $q->set( 'page_id', 198 ); $q->set( 'page', '' ); $q->set( 'pagename', '' ); $meta_query = array( array( 'key' => '_sale_price' ) ); ...
0
votes
0answers
19 views

Woocommerce - Count products per meta in cart

I would like to count how many product (quantities) there is in my cart based on meta information (custom fields). For examples : You have 18 dresses and 2 skirts in your cart. For now I use the ...
0
votes
1answer
77 views

Modify WooCommerce email shipping text value

I'm attempting to use the 'woocommerce_order_shipping_to_display' filter to show 'Free' in the WooCommerce email table when no shipping charges will be incurred. In the image, I'm trying to get the ...
0
votes
1answer
191 views

How to get product count with respect to categories in WooComerce

Hi I want to display all the categories of products in a loop to display them in category menu along the numbers of products each category contains. Some thing like that so far I have done this to ...
0
votes
0answers
76 views

Wordpress | Woocommerce custom registration form

I would like to ask whether it is possible to create the registration with the only code that is sent to the user's mail after form submitted, I'm not sure how to do properly. for example : The ...
5
votes
0answers
218 views

WP/WooCommerce REST API cart/checkout/order [closed]

Since the WordPress Rest API is getting merged into core and WooCommerce extended their API as well I stared to wonder how it would be possible to build an entire eCommerce website with it. When you ...
0
votes
1answer
398 views

Integrate WooCommerce theme with a Wordpress theme [closed]

I have some questions about WooCommerce theme's integration into an existing Wordpress theme: Is it possible to integrate a WooCommerce theme into an existing Wordpress theme? Should I make my theme ...
0
votes
0answers
31 views

Woocommerce variable filter form not working

I created a custom variable filter for woocommerce, but when i submit a form its doesn't work... Not filtering a variable selected product. (Show all product on shop page). Thanks for any help! ...
0
votes
1answer
48 views

Which Multi-language option for Wordpress is best from an SEO and Woocommerce perspective?

I am wanting to set up an English and German version of a site for selling products and using content marketing. So I will be doing key word research in both languages. There will be a lot of ...
0
votes
0answers
19 views

Woo commerce add_to_cart_text function not overriding and displaying text

I have a custom product class extending WC_Product. When I go to a product with the selected product type the add_to_cart_text function is not used and displaying what I have. The file is included ...
0
votes
1answer
55 views

Woocommerce purchase date [closed]

I am creating a membership site with Woocommerce and need to display how long is left on the membershop, I am guessing I need to do a DB query to get it, but is there a function I have missed that ...
0
votes
1answer
176 views

WooCommerce - Redirect to a product after login

I found myself in a spot of bother: I have a page with an eBook you can read from the browser, access to which I sell through the WooCommerce. The idea is incredibly simple: on the front page is a ...
0
votes
1answer
177 views

UWooCommerce - add cart discount programmatically?

I need to develop a plugin that applies a discount to the cart if x number of products have been purchased. Could someone point me in the direction of the code/API I need to use. Can find nothing ...
0
votes
0answers
25 views

Send email to different users depending on the field selected in woocommerce?

So, I've been searching high and low and I don't know if this is possible, but I figure this is the best place to try and see.. I have a checkout field added to my checkout page in woocommerce. It ...
0
votes
0answers
14 views

wpmu_new_user hook not firing

I have a WP Multisite setup with woocommerce on each of the sites. I am trying to hook into wpmu_new_user to send customer info to our CRM when they register at the checkout. ...
0
votes
1answer
39 views

Order Woocommerce Products by Latest Reviewed

In my Woocommerce site, I have: [recent_products per_page="16" columns="4"] which as the shortcode infers, orders products by the most recent. If I wanted to order my products by the ones latest ...
0
votes
1answer
101 views

Problem with hidden products on woocommerce

I'm dealing with a common problem for what I saw. When I hide "Out of stock" products, they keep counting on the pages. For example: I show 24 items per page, if 10 are out of stock and I hide them ...
0
votes
0answers
78 views

Get single woocommerce product loop item by id

Is it possible to get the product loop item by id similar to this output <?php echo do_shortcode('[product id="123"]'); ?> but just the li and not with the div.woocommerce and ul.products ...
0
votes
2answers
52 views

Show pop up message for specific categoryies

i have 2 categories that have book in adult, So i need when any user open this category to show him pop up message like :- The content you are about to view are of a mature matter. Please be advised ...
0
votes
1answer
24 views

How to display Woocommerce catagories

I want to display woocommerce products catagories in my wordpress sidebar theme. what is the code for it ?
0
votes
1answer
43 views

Custom action not working in Woocommerce

I've created a custom action in woocommerce in order to rewrite the breadcrumbs function and put it in another place into html, but it didn't work. Firstly, I removed the original Woocommerce ...
0
votes
1answer
393 views

How to add a special Woocommerce “buy now” button?

I wish to ADD a "buy now" button on product page , and redirect to checkout page after clicking it but without adding the product into cart. For example, if there are already products A,B in the ...
0
votes
0answers
129 views

Pre-populate Woocommerce Order items with fees in admin

I cannot seem to get this down, I only have experience with editing Woocommerce templates and not anything in /includes/. The goal: Add 5 empty fees in the Woocommerce Order details admin area ...
1
vote
1answer
163 views

Attach PDF to Woocommerce email

Hello WP Stackexchange! I'm running a woocommerce shop, and i need to attach my terms and conditions pdf/link to the email that my customers receive when they buy a product at my shop. Is there any ...
0
votes
1answer
26 views

Declaring a new woo commerce product type i get this error

Warning: Missing argument 1 for WC_Product_PJB::__construct() class WC_Product_PJB extends WC_Product { public function __construct( $product ) { $this->product_type = ...
0
votes
0answers
16 views

Counter variable resets before script is finished

I am working on a script for a client (a bookstore) that will upload their inventory to their WordPress database. They are using WooCommerce, and the upload file contains approximately 17,000 records. ...