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

learn more… | top users | synonyms

0
votes
2answers
484 views

WooCommerce - Where is functions.php?

I have a very simple question (I hope). I am trying to edit the number of products displayed on my Shop page in my WooCommerce WordPress site, and all attempts thus far have been unsuccessful. I ...
0
votes
0answers
14 views

Woo Commerce: How to get the product category totals to include the sub-category count?

In my Woo Commerce configuration I have categories and sub-categories. If I display a list of categories using the Product Category widget, it shows the count of products in each category. However, ...
0
votes
1answer
187 views

How to echo billing phone number under My Account in Woocommerce? [closed]

We're wish to get customer's billing_phone number & then put it under "My Account" or "My Address" section. This way, our billing support can look up for a number to call from the front-end, w/o ...
0
votes
0answers
49 views

WP: Using jQuery inside a woocommerce tab

I have a child theme of Storefront which is modifying woo-commerce. The child theme uses the following function in functions.php to enqueue jQuery.UI scripts. function hurrah_enqueue_scripts() { ...
0
votes
0answers
30 views

Order by ASC my download

I created an e-commerce of digital music, using the great woocommerce plugin. I have a problem, downloads in the user profile are order from oldest to newest. I would order them from newest to ...
0
votes
0answers
260 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
12 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
26 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
32 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 ) { ...
2
votes
2answers
503 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
40 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
35 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
22 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
122 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
33 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
58 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
40 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
82 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
57 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
1answer
210 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
82 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
137 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
158 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
41 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
37 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
86 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', ...
0
votes
2answers
357 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
7 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
132 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
213 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
63 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
70 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
40 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
193 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
115 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
154 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
63 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
63 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
768 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
80 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
58 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
27 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
83 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
28 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
29 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
116 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
80 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
212 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
57 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 ...