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

learn more… | top users | synonyms

0
votes
0answers
19 views

Isolate Sub-Category from Top Category in WooCommerce Cart (Exclude others)

This is my first post to SOWD. I have the following function that adds custom fields for a given product category if present in the cart - in the example below, the product_cat is 123, which is a sub-...
-2
votes
2answers
231 views

How do I put woocommerce cart page to my checkout page? [closed]

I want my cart page to show up on my checkout page. And I want to remove the order review from checkout page. so my cart page will show on the top.
-2
votes
1answer
474 views

how to remove or disable woocommerce order review in checkout page?

In the checkout page, there is a review order table on the bottom. I want to remove the order review in checkout page. What is the remove action ?
0
votes
1answer
177 views

Disable woocommerce product search plugin's autocomplete [closed]

I want to disable woocommerce product search autocomplete feature?
0
votes
0answers
241 views

WooCommerce Order Total Minus Shipping

I am trying to pass the WooCommerce order total back to Facebook via thier tracking pixel. Using this code in my functions.php file I can pass back the entire order total (product cost and shipping ...
0
votes
1answer
15 views

WooCommerce - missing products when viewed by tag

Has anyone had the same problem as this? A product tag has a count of 68 products to it but when i view that tag page it only shows 47 products ! another tag has 41 and shows 41, another 160 shows ...
0
votes
0answers
117 views

How to make Woocommerce Attribute Dropdown to Clickable Text?

This is the dropdown code for the attribute. I want to make it clickable text. For the size, you can see the size is clickable text. http://www.urbanoutfitters.com/urban/catalog/productdetail.jsp?id=...
0
votes
2answers
172 views

Get product details by url key in Wordpress woocommerce

I want to load products deatails on my custom page.Is there any way that i can use the url key like http://localhost/mysite/product/samsung-1.In this url samsung-1 is the key for that product.I want ...
0
votes
2answers
37 views

Have I got this IF Statement correct?

Based on this snippet, which checks the quantity in cart for MAX value: add_filter( 'woocommerce_quantity_input_args', 'jk_woocommerce_quantity_input_args', 10, 2 ); function ...
0
votes
0answers
11 views

Will WooCommerce be able to handle this type of subscription?

How can you create a membership site selling downloads to users? A question came in the forums from a student wanting to know the best way to create a membership site selling downloads: I am ...
0
votes
0answers
9 views

Insert image in wocommerce product page (after 1st row before 2nd row )

this is what I'm trying to achieve, but I cant find how to do it. (I'm using standard woocommerce templates )
0
votes
0answers
46 views

Variation Price changes to zero if updated in woocommerce

Having an issue where product price changes to zero if I add regular price to variation individually. However, if bulk add the regular price it updates to correct value. But if I change price ...
0
votes
1answer
342 views

Print Woocommerce product price on cart page

I can access subtotal or total price via like this: $woocommerce->cart->get_cart_subtotal(); But I tried to $woocommerce->cart->product or $woocommerce->product->price then echo, ...
0
votes
3answers
148 views

How do I get slug of term by his name?

The WC_Order_Item_Meta::get_formatted() function returns terms array of the order. Each term is an array of three things: 'key' => $meta->key // attribute key 'label' => wc_attribute_label(...
0
votes
0answers
20 views

Woocommerce subscriptions changed after upgrade

I just updated woocommerce and their subscription plugin to 2.4.7 and 2.0.2 respectively. Since doing that my previously automatically renewing subscriptions are not renewing. Under payment method, ...
0
votes
2answers
125 views

How To Create WooCommerce Custom Template For Specific Product?

I know this may be slightly off topic, but this really is the best place to ask a question related to WooCommerce & WordPress. I've search high and low for an answer to this question and there ...
0
votes
0answers
36 views

Display post_meta-by_key on product catalogue

I'm trying to display a custom field in my woocommerce bookshop catalogue. I have added the field "author" and I want to display it after the product title, and before the price. http://www....
0
votes
0answers
203 views

Need different overlay png images on different single products in woocommerce

I am setting my t shirt store, I want to add a transparent png image over jpeg image. For product 1, Transparent product1.png For product 2, Transparent product2.png For product 3, Transparent ...
0
votes
1answer
879 views

WooCommerce: change display order of product short description and price [closed]

re: https://modestmix.com/shop/benefit-teas/go-the-fuck-to-sleep/ I'd like to move the price "$4.99–$24.99" below the product short description "Seriously. Drink a cup of this..." Any ideas how to ...
0
votes
0answers
87 views

Include ACF field in other plugin option page

I'm using Advanced Custom Plugin. I can get the field's output via export option. My field like this: if(function_exists("register_field_group")) { register_field_group(array ( 'id' => ...
0
votes
2answers
48 views

Cannot Modify Header Information error

I am using Bazar theme and woo commerce. I tried adding a new products but I get this error saying: 'cannot modify header Information - header already sent by (output started at c:\wamp\www\...
1
vote
0answers
76 views

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 'Flat ...
0
votes
4answers
272 views

woocommerce send order info by email get post meta not working

I would like to send an email when there is a new order on my woocommerce shop. $order show the good order number but it doesn't work with get_post_meta. If I do it like this, it's working: ...
0
votes
0answers
73 views

WP Ecommerce to Woocommerce product migration

I'm trying to move a currently active WP Ecommerce site to a new site using Woocommerce. However I'm having serious trouble finding a method to export products + product categories into a format which ...
0
votes
1answer
143 views

There is no existing custom fields' value in functions.php

I'm using WooCommerce and Advanced Custom Fields plugin. I have a function for calculate my product's discount, like this: function woo_add_cart_fee() { global $woocommerce; $discount = ...
1
vote
0answers
43 views

Custom Options (image or file) in WooCommerce

I want to show a Custom Option's image or file, instead of image or file name, in order view page in admin and order page in my account in front end of WooCommerce. I have used this hook: ...
1
vote
0answers
200 views

Woocommerce action before Place Order

I want to know is there any hooks in woocommerce before placing an order, In my case, What I want to achieve is, If the customer selects the COD option in the check page, and click place order I want ...
-1
votes
1answer
79 views

How do I create a array custom field for use with facetwp.com?

I plan on displaying information on a range of laptop computers, including: Make Model CPU OS Some laptop manufacturers let you choose the OS, between Windows 8 or Windows 8 Pro, say. I thought I ...
0
votes
0answers
91 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 ...
0
votes
1answer
28 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 ) { $fields['billing']['billing_postcode']['...
0
votes
0answers
147 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
38 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
36 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
22 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
114 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 <title>...
0
votes
0answers
151 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
43 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
94 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
292 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
1answer
361 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
55 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 foncé,...
0
votes
2answers
377 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
133 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
122 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
86 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
212 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
19 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
206 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
423 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
223 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 ...