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

learn more… | top users | synonyms

1
vote
0answers
25 views

Get Woocommerce variations order / sorting

As I can see the order of the variations on a variable product is done via the "menu_order" data of the variation. What is the best way (in terms of backward compatibility and code quality) to get ...
1
vote
0answers
9 views

Drop down multi column menu Width reduce

I have developed wordpress website using Woo commerce plugin and I have created multi column menu drop down menu. My Site Link Url: Site URl In my Site I have watch brands, knife brands and also ...
0
votes
0answers
4 views

Search for WooCommerce theme with product groups

In wp 4.3 I used Storefront theme for WooCommerce, but I would like something different theme: something with category grouping ( all products are in different groups and I want possibility to select ...
0
votes
0answers
7 views

Is there a way to always have “Add to Cart” button showing and selecting Default Variation?

What we are noticing is that customers are complaining that it takes too much time to go to each product page and select a variation and then return to the store page to go through the rest. I am ...
0
votes
0answers
12 views

Generate auto seqential ID number when a new user is registered

First off I found this solution to what I would like to do: generate an auto incremented id number when a new user is registered It is almost there but I would like to extend the functionality a ...
0
votes
0answers
7 views

Disable woocommerce PLACE ORDER button if user selected products that are not available for international delivery

In my woocommerce site, I list both products that are available for shipping to India as well as International destinations. Am assigning a only-india shipping class to certain products so as to mark ...
0
votes
0answers
14 views

Tax not displayed correctly in email

The tax of 21% is displayed correctly in the frontend The price of the product is: €12.95 incl Tax When i receive a confirmation in the mail the price displayed is: €10.70 So that is the price excl ...
0
votes
0answers
11 views

Any reason why not to use woocommerce_cart_calculate_fees in a page template?

I know that generally functions and add_action() would go in functions.php or a plugin rather than a page template, but I have a situation where I would like to use a function like the one below ...
0
votes
0answers
16 views

PrettyPhoto doesn't work using data-rel=“prettyphoto[iframes]”

I am doing a payment method for Woocommerce and I found something strange. In the description of payment method I have a link: <a href="'.plugin_dir_url( __FILE__ ...
0
votes
0answers
14 views

Delete all per-product attributes in WooCommerce

Is there a method to find & delete most/all attributes for products in WooCommerce when these attributes are unique to each product, that is they don't appear under the Product->Attributes menu? ...
0
votes
0answers
16 views

How to add a new endpoint in woocommerce

Im using woocommerce for a website and where the client sells software. One of the options I have to add is request a license button on my account page. I already have the function that does this in ...
0
votes
0answers
7 views

How to change Woocommerce product id for recurring subscription

so we have different product ids for each month during a 12 month subscription. I looked in the database and noticed when a recurring payment runs it pulls the original order in the subscription from ...
0
votes
0answers
17 views

Product Category Page in Full Width

Initially the Product Category page is divided into Content Area (70% width) Side Bar Area (30% width) I have removed the side bar area using function.php. However the content area is still in 70%. ...
0
votes
0answers
12 views

How can I move the Woocommerce Sort button to a widget in the Shop Sidebar?

How can I move the Woocommerce Sort button to a widget in the Shop Sidebar? I don't see any options to do this even within plugins, which is confusing to me. It seems a great place to have it - above ...
0
votes
0answers
10 views

How do I get all the code in the woocommerce archive product template into a single line of code or single function?

I am trying to use the Pay Per View plugin by WPMUDEV. I have spoken with their support team about how to protect the category archive loop with a pay per view system. The trouble is that their pay ...
0
votes
0answers
11 views

How to write WooCommerce get_term_link URL to produce desired URL

I am new to WooCommerce development. I am working with this line in content-product-cat.php: <a href="<?php echo get_term_link( $category->slug, 'product_cat' ); ?>"> I would like to ...
0
votes
0answers
12 views

WooCommerce Product Quantity Modifier

Right so I am bashing my head against the desk at the moment trying to think of a way to get this to work. I am using a custom theme, with WooCommerce and the WooCommerce Measurement Price Calculator ...
0
votes
0answers
13 views

Importo product with xml into woocommerce

I need to import the products in Woocommerce, this is the xml that I need to import <product> <ID>00800064</ID> <NAME><![CDATA[MASTURBATORE A FORMA DI BOCCA ...
0
votes
0answers
15 views

Show product category in order email

requesting help with woocommerce... when customer orders something he receives an e-mail and owner of the shop receives an email too. There is the name of a product customer has bought. I want to add ...
0
votes
0answers
15 views

Qtranslatex redirect error

I m using qtranslatex for woocommerce. On load im trying to redirect the user to the shop page , instead of the home page, but it shows an error , the page says, too many redirects and the link has a ...
0
votes
0answers
5 views

Unable to add custom field in woocommerce in email

I have created two custom fields in woocommerce as follow : add_filter( 'woocommerce_billing_fields', 'custom_woocommerce_billing_fields' ); function custom_woocommerce_billing_fields( $fields ) { ...
0
votes
0answers
17 views

WooCommerce change category url and product base

I want to display the url's like this: for Category: /webshop/categories/hoodies/ for products: /webshop/categories/hoodies/test-product how is this possible without giving me 404 not found ...
0
votes
0answers
7 views

Woocommerce Subscriptions to X Amount of Product Downloads

Trying to add a subscription option to a Woocommerce site, that allows a subscriber n number of downloads for any products within a type of product class. We're setting up a subscription option so ...
0
votes
0answers
20 views

how to print variables in wordpress 4.3?

A few months ago I wrote a little woocommerce plugin that does some curl requests. So far so good just that a few days ago I updated my Wordpress to 4.3 and Woocommerce to 2.4.5. Now I can't var_dump ...
0
votes
0answers
22 views

Adding Image Gallery Metabox on Custom Post Type Wordpress

I have a custom post type, and I want the users to add multiple images or attachments aside from the featured image. I want to achieve something like this, I got this from the woocommerce products: ...
0
votes
0answers
21 views

Woocommerce ajax checkout submit

So, in woocommerce, when a product is purchased, the user is redirected to "review-order" page. I am tying to make it so that the "review-order" page is instead shown by ajax on the product page ...
0
votes
0answers
23 views

Remove Sidebar from Specific Product Category “Slug”, “not all” | Wordpress Woocommerce

My question is, Can i remove the sidebar only for particular URLs of my side. If the url is like below - remove the side bar and make the page full wridth ...
0
votes
0answers
17 views

WooCommerce - How to add a new page to the checkout process?

I found plenty of options/plugins to streamline the checkout process. I want to include an additional step in my checkout process. When a customer is in the cart overview page and clicks on continue ...
0
votes
0answers
24 views

Woocommerce pagination not working

So, I have following woocommerce product loop with pagination. When the next button is hovered over, I can see that the href is example.com/page/2. However, when the button is clicked and page is ...
0
votes
0answers
5 views

Catalog/Archive page products and adding weight choice per product-all items are added to cart

I am using the following code to create a choice of quantity on my catalog/archive page with over 40 products. It looks close to what I try to achieve. Unfortunately, when I change 1 item, the cart ...
0
votes
0answers
16 views

woocommerce shortcode modification

I would like to modify a Woocommerce shortcode. I would like to make a copy of it in my own functions file. So far everything I've tried hasn't worked. The shortcode I would like to modify is the ...
0
votes
0answers
14 views

WooCommerce Subscriptions: Only apply shipping cost to sign up fee, not recurring total

I'm attempting, in WooCommerce Subscriptions, to only apply the shipping total to the sign up fee and NOT the recurring_total. I followed this forum post from the developers, ProsPress, on how to ...
0
votes
0answers
13 views

TinyMCE editor for woocommerce product attribute

I am creating a custom product attribute by a use of a plugin, but there is a problem that it outputs a simple textarea. What I need is either a TinyMCE editor or some simple editor with a possibility ...
0
votes
0answers
11 views

Show pagination and exclude category

So, I am trying to show items from a specific category in the woocommerce: Here is what I have so far: <?php $args = array( 'post_type' => 'product', 'posts_per_page' => 10, 'product_cat' ...
0
votes
0answers
7 views

Cart only updates every second page load. What am I missing?

$id = 2321; $qty = 2; global $woocommerce; $woocommerce->cart->add_to_cart($id, $qty); I'm getting the id and quantity from $_GET values, then do $woocommerce->cart->add_to_cart($id, $qty); ...
0
votes
0answers
17 views

Shop title and Homepage Duplicate Issue

I have a woocommerce site with a shop page template as my home page. I'm also using the Yoast SEO plugin. However, I'm getting a duplicated title issue for: domain.com and domain.com/shop The title ...
0
votes
0answers
35 views

woocommerce - Multiple meta query not working

Any help on why this multiple meta query is not working is greatly appreciated, both meta_query arguments have been tested independently. I'm looking for bringing Featured products as well as Best ...
0
votes
0answers
19 views

I want to create new product field for woocommerce and then integrate with dokan multivendor plugin?

I want to create another new field like product short description in woocommerce and then i want to integrate that field with dokan multi vendor plugin to make it available for sellers on dokan ...
0
votes
0answers
14 views

Copy woocommerce country select field to another page

I'm trying to copy the billing_country select field on woocommerce checkout to another page. Specifically the edit details section of the payment summary page. I would like my customers to be able to ...
0
votes
0answers
11 views

Woocommerce: Create a seperate view for a specific custom product type

I have two custom products. What I want is to display them in to different archives. So the standard shop main archive should display only one product type (or category if that helps) and then I want ...
0
votes
0answers
32 views

Remove Action from plugin class

I am trying to remove the action 'render_product_message' from the woocommerce points and rewards plugin. I tried many different ways that I found from other questions. woocommerce points and rewards ...
0
votes
0answers
7 views

Making the search results more relevant

I have setup up my WooCommerce shop so that I have all my SKU's in the tags of the product, so that when a user searches for a SKU they find what they're looking for (unbelievably this isn't standard ...
0
votes
0answers
46 views

Show specific meta data on cart with WC_Cart

I want to show more details on the cart in a Woocommerce page. The code in the current format is this one: // Meta data echo WC()->cart->get_item_data( $cart_item ); When I print it as an ...
0
votes
0answers
36 views

Woocommerce - Display Custom Attribute with Permalink

I've the latest woocommerce 2.4.2 installed. I would like to display custom attribute with permalink and I've been searching high and low for this snippet. The closest I've found is ...
0
votes
0answers
32 views

Sort orders by custom order meta - Woocommerce Orders admin page

I'm trying to sort my Woocommerce orders by _payment_method on the 'Orders' admin screen (edit.php?post_type=shop_order). So far I am able to sort by 'Pay_by_phone', but it sorts everytime the page ...
0
votes
0answers
37 views

Woocommerce category Custom Field

Hi I have created with CTP custom fields plugin a custom field to appear only in taxonomy -product category- this field, appear in the backend when I edit the category. Field is intended to be there ...
0
votes
0answers
27 views

“Success” Message When Item is Added to Cart – Woo Commerce

I'd like woocommerce to display a success message at the top of the screen when an item is added to the cart. Here's the site I'm working on: http://iowstore.wpengine.com. When you add a product on ...
0
votes
0answers
33 views

Get email from shipping address in woocommerce

I'm developing a website where we sell digital products. For requirement when the buyer ask to send the license to another email the buyer uses shipping address to enter the extra email. so I added ...
0
votes
0answers
22 views

Edit the style of the Subcategories in product arhive

I want to display the sub-categories one after one. Not one under one. How to do this? Like: Cars - Jobs - House Not Like: Cars Jobs House Here is the photo, but I want it like this.
0
votes
0answers
41 views

How to remove custom post type slug & taxonomy-base from URL in WordPress

I am using woo-commerce I have bellow code to remove the post type "product" slug from url and it works fine. Product url = http://example.com/product/product-name/ to Product url = ...