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

learn more… | top users | synonyms

0
votes
0answers
66 views

Is there a way to override Woocommerce's jQuery blockUI?

I know it's possible to make css !important override rules to style the overlay in a limited way, but for true control I've resorted to editing Woocommerce's checkout.js file. I've currently set up a ...
0
votes
0answers
9 views

Woocommerce Dealer User Role

Woocommerce documentation mentions a "shop manager" role which I do not see in v2.4.10. Does the "dealer" role have same permissions as "shop manager"?
0
votes
1answer
22 views

Not getting result using ajax on wordpress

I have used the following code on my functions.php page add_action('woocommerce_product_thumbnails', 'my_ajax_button'); function my_ajax_button() { echo '<button class="buy-this-room myajax" ...
0
votes
0answers
15 views

Admin field validation

I've seen a lot of examples of field validation for custom fields and checkout fields with WooCommerce similar to what I'm already doing here: function custom_override_checkout_fields( $fields ) { ...
1
vote
1answer
143 views

Programatically update Custom Attributes WooCommerce

First of all, thank you for being part of an impressive community that has helped me out a thousand times before. In my Wordpress environment (Enfold theme, Woocommerce plugin) I created a system to ...
0
votes
0answers
19 views

Move WooCommerce menus to submenu settings

i'm searching a function that will move my woocommerce dashbord menu items (Products, WooCommerce) to wordpres submenu: settings I try to remove menus and add them again using: add_action( ...
0
votes
1answer
30 views

Woo-commerce: Adding additional page sections using a child theme

I'm hoping to modify Woo-commerce by adding a section to every product page. I have a child theme setup with a copy of the Woo-commerce template files in it. I want the new section to appear under the ...
0
votes
0answers
17 views

Does Woocommerce thank you page use default theme?

I currently use a couple of themes, one for the main site and "storefront" for the shop side of the website. Woocommerce uses endpoints to set the pages so I can't make a normal page with a shortcode ...
0
votes
1answer
60 views

Multi-vendor with custom shop site for each vendor

What is the best way to create a multi-vendor site that allows user to register as a vendor and not only this but it provides the vendor a new custom shop web-site which he/she can customize by ...
0
votes
2answers
25 views

WP: adding Javascript to specific woo commerce pages

I'm developing an eCommerce site using Woo-Commerce, i'm hoping to introduce some JavaScript to my sale pages only, in the name of a finance slider. What is the best way to go about including a ...
0
votes
0answers
34 views

Retrieve last order data for logged in user woocommerce

My task is to retrieve the last order data for logged in user from woo-commerce. I want to display my last Order meta value in Product page for logged in user.
0
votes
1answer
23 views

WooCommerce Images are uploading to the server but not attaching

I've Created a Script that Grabs an image from an external site and it is imported to the WordPress image gallery. -> wp-admin/upload.php [Media Library] My Code Snipplet foreach($url as ...
1
vote
1answer
46 views

Woocommerce - remove product from category

I'm trying to do the following, but I'm stuck with coding. Hope someone can help me out here. In Woocommerce (on the product-edit page) I can choose in which category the product will be. I made a ...
0
votes
0answers
29 views

How to change the query string variable for the pagination links?

H, Is there any method to change the pagination links query string name in woocommerce. I have tried changing the 'format' => '?pagination=%#%', but URL is still with page/2/ etc. Any hint ...
1
vote
0answers
49 views

Disable Sidebar in the Product Page in Storefront Theme

I am using storefront theme, where there is options for the Full Width in the pages but not in the Product Page and Product Category Page in the Store Front Theme As i played with css and i go this ...
0
votes
2answers
49 views

How do I change the core post search algorithm? Where is it found/constructed?

I have wordpress and woocommerce installed and I noticed that woocommerce's product search seems to use wordpress's search. Well, I don't like the search, and I'd rather alter it at the core rather ...
0
votes
1answer
45 views

WooCommerce - Print Processing orders [closed]

On our WooCommerce webshop we have an PHP page that generates the processing orders. Now I need to show the SKU in the table, but I don't know how to do that :) Below is an example of the page as it ...
0
votes
1answer
64 views

Making changes to woocommerce order before save

I use the hook woocommerce_before_calculate_totals to intercept and make changes to the cart before data is saved. Is there a hook or other way to do the same in the admin area? I need to evaluate the ...
0
votes
0answers
19 views

How to create custom page woocommerce/myaccount directory

Hi i tried to create a custom file pay-invoice.php in woocommerce/myaccount directory, but when i visited to that particular page then i got page not found File Structure: - theme - woocommerce ...
0
votes
0answers
27 views

Social share with not plugin

I have tried to insert social share buttons without a plugin but I am having a problem. I start with Google + button and I add this code in my header.php <script ...
0
votes
0answers
42 views

Problem with creating order in schedule event (woocommerce, wordpress)

I have created a schedule event in wordpress. The coce inside it is below (wordpress + woocommerce), $order = wc_create_order( $args = array() ); update_post_meta( $order->id, '_customer_user', ...
1
vote
0answers
46 views

Woocommerce bind different price to different variations [closed]

Recently, we've decided to transfer from Magento to WordPress. We have ~1500 products already. Now, we have products with for example: Size. Now when a customer clicks on a different size in a ...
0
votes
2answers
143 views

WooCommerce Storefront - Exclude category from product categories in homepage

How would I exclude a specific category from the product categories in the homepage? The function is in /inc/structure/template-tags.php: function storefront_product_categories( $args ) { if ( ...
0
votes
0answers
5 views

Woocommerce not changing a successfully paid transaction

I've installed a bespoke payment gateway plugin and all seems well with the instalation. Payments are going through without a hitch. But if a customer fails to pay for the order (due to incorrect ...
0
votes
2answers
54 views

Use WooCommerce function in other Wordpress plugin

I am currently trying to make a plugin which updates the stock count of my WooCommerce products. So I wanted to access the wc_update_product_stock function, but an error got returned instead. Code ...
0
votes
1answer
112 views

Woocommerce Add to Cart function

I'm new to WooCommerce and looking for your help. Here is the challenge: I have 3rd party widget generated on a partner's site to show up on my site with WooCommerce. E.g. I get code and place it on ...
0
votes
0answers
37 views

Cart not showing up

I have just installed the WooCommerce plugin on my existing WordPress theme. I have integrated the plugin using the correct functions as found in the WooCommerce integration guide. Now the shop index ...
0
votes
1answer
33 views

Display free WooCommerce products

How can I display only my free WooCommerce products on a page? These products change each week, and I want a page that displays my current free products without having to update these products ...
0
votes
0answers
31 views

add_order_item from custom endpoint

Im useing WP>Woocommerce->Woocommerce subscriptions I have created a custom endpoint: /edit-subscription/. You can see exactly what i did in the last comment here: ...
0
votes
0answers
86 views

Woocommerce - Send billing details to email

I'm new to wordpress and woocommerce and I'm trying to send the details of anyone making a purchase on my site to an email script I have. I've done some research and it seems the best way to do this ...
0
votes
1answer
57 views

WP_Query for products always returns empty

I have a simple following logic: $args = array( 'post_type' => array('product'), 'product_cat' => 280, 'posts_per_page' => 3 ); $category_posts = new WP_Query( $args ); ...
0
votes
0answers
10 views

Slug uniqueness for an ecommerce with categories [duplicate]

I come to you because I have a problem and i'm looking either for a solution to it, or alternatives. I've spent all day long trying to find a way to make it work. Let me explain. (Quick recap) ...
0
votes
1answer
83 views

How to remove “From:” before variable product price?

How can I remove the "From" text before product price? I'm running the latest version of woocommerce and I've added this snippet of code to the functions.php file to revert pricing style to that of ...
1
vote
0answers
34 views

Moving WooBookings Calendar to different position using action [closed]

I'm trying to move the WooCommerce Bookings Date Picker to a different position of the Single Product view. This code works with core templates, but I can't figure out how to apply it to the Bookings ...
0
votes
1answer
28 views

Get usermeta info from sql query

I'm using WooCommerce and need to get my users billing name, billing address, billing phone, billing email, etc from wp_usermeta in a good format like this: name,address,phone,email fake name, 123 ...
0
votes
1answer
255 views

How to show woocommerce login / registration form in modal

I have developed E-commerce Website using Woocommerce Plugin. I would like to show the login/registration form in modal. Is there any way to automatically show the login/registration form when the ...
0
votes
0answers
42 views

Woocommerce new order admin email product thumbnails don't appear because of space character!

I would like to show the product thumbnails in Woocommerce new order admin emails. I have read some articles about how to do it and I changed the propriate line for this: ...
0
votes
0answers
31 views

WooCommerce Cost of Goods Sold - Output Producct Profit

I'm using the code below to output product price using <?php echo $order_total ?> or <?php echo $order_total_without_shipping ?>. Does anyone know how to edit it so that I can output ...
0
votes
0answers
13 views

Decide shipping methods depending on customer address in woocommerce

I am using woocommerce for my wordpress site. I want to decide shipping methods on the basis of customers address. Means after address is filled then shipping methods will be decided. There are two ...
0
votes
1answer
32 views

How can I hide the entire “Shipping Details” block on the admin side of Woocommerce?

My Woocommerce store has virtual products that don't require shipping. I have disabled the shipping options from the customer on checkout, but now I want to hide it on the backend as well. When ...
0
votes
0answers
17 views

How to set a common price for all variable of product? (WooCommerce)

I use the plugin WooCommerce. I want to enter the same price for all variations of goods. To do this we have to manually set the price for each option(http://prntscr.com/8yh6cd). How to set the price ...
0
votes
0answers
21 views

Force woocommerce currency from Admin > per users account

Woocommerce: Does anyone know if it is posable to force the currency of a user from their user profile in admin. I currently have a field with a radio option for GBP or EURO using UPME profile plugin ...
0
votes
1answer
46 views

WooCommerce set a min order price for a single country

I'm trying through this code to set a minimum price for orders: // Set a minimum dollar amount per order add_action( 'woocommerce_check_cart_items', __NAMESPACE__ . '\\spyr_set_min_total' ); ...
0
votes
0answers
35 views

Add multiple “order notes” to Woocommerce Checkout based on quantity

I'm using Woocommerce for a tour operator website, where the "Woocommerce products" are the different tours on offer. I have edited the checkout form and added new fields to the Before Order Notes ...
1
vote
1answer
89 views

Override mini-cart.php from plugin

(Its not the cache thing) Im creating a plugin that among other things modifies woocommerce template files. Before i placed woocommerce overrides in child theme. But i want to move it to the plugin to ...
0
votes
0answers
41 views

WooCommerce - Complete Order when an action occurs

I'm having trouble with WooCommerce and Custom Post Type/Custom Fields. I have an application where a new WooCommerce order automatically creates a new post (CPT = "audits"). The post has some custom ...
0
votes
0answers
37 views

WooCommerce checkout with two payment gateways?

Is it possible in WooCommerce to allow users to use two payment gateways? I have a custom eWallet plugin which I want users to use, but I also want the users to have the choice to partially pay via ...
0
votes
1answer
96 views

Add my own function to existing WooCommerce hook

I'm trying to customise my WooCommerce child theme with parent theme Storefront. The parent theme creates single product template (content-single.php) like this: /** * @hooked storefront_post_header ...
0
votes
0answers
77 views

How do I remove the quantity word in cart page?

How do I remove the quantity word in cart page? The "Quantity" word will show up on my product page, but I don't want the "Quantity" word display on my cart page. Is it possible to make it show in ...
0
votes
1answer
46 views

Add text specifically to order-proceessing-email in WooCommerce

I am trying to add some text to the customer-order-processing email from WooCommerce, and it should ONLY be added in this particular email and ONLY if chosen payment method is Paypal. I have come so ...