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

learn more… | top users | synonyms

0
votes
1answer
288 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
52 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
338 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
123 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
106 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
75 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
198 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
18 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
179 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
409 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
215 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
198 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
163 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
1answer
122 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
727 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
123 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 ...
6
votes
0answers
409 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
1k 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
43 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
63 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
31 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
95 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
279 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
440 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
34 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
23 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
58 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
151 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
122 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
128 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
79 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
749 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
171 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
333 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
34 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
21 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. ...
0
votes
0answers
103 views

Override Wordpress Timber Template locations for Woocommerce

I need to overwrite the page template locations for Woocommerce using timber Wordpress. To change the location for the twig files was no problem. All page Templates are stored in the theme root ...
0
votes
2answers
118 views

Strip string from $_product->get_title() to get a cleaner mini-cart

I am using a customized mini-cart.php file, in which there is this line of code: $product_name = apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, ...
0
votes
1answer
298 views

Woocommerce Mandatory Field on Shipping Details

I am trying to add a Phone Number mandatory field to the Shipping Details page of the Woocommerce checkout but it should only be mandatory if an alternative shipping address is selected. Woocommerce ...
0
votes
0answers
34 views

Selective WooCommerce Payment Gateways

If a user is not logged in, Im preventing them from selecting Invoice/Cheque payment leaving only PayPal as an option. function wdm_disable_cod( $available_gateways ) { //check whether the user is ...
0
votes
0answers
27 views

Customize theme, woocomerce registration, What hooks to use?

I'm using this theme http://wp.contempographicdesign.com/wp_automotive_2/ for a project and now the clients want more specific changes 1.- The user needs to have a subscription plan in order to post ...
1
vote
1answer
242 views

Can I remove WooCommerce main content hook?

<?php /** * woocommerce_before_main_content hook * * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content) * @hooked woocommerce_breadcrumb ...
0
votes
0answers
722 views

country state & city drop down in woo commerce checkout

I am trying to create a dropdown which shows the Country, State and City. Currently woo commerce has the Country---> state dropdown option in billing address but need it for the city as well. Country ...
0
votes
0answers
121 views

Woocommerce “Add cart button” And “Checkout Button”

Well currently I have the default button where you can add to cart, but I want to place right next to that one and before the "Favorite button" another one which one "add to cart and go to checkout ...
0
votes
0answers
49 views

Wordpress magazine subscription service using Groups, Woocommerce, & Issuu. How do I manage customer renewals?

I'm currently trying to figure out the easiest way to handle a new system my client wants my to implement. The client wants to sell an interactive digital form of their magazine on their website (not ...
0
votes
1answer
221 views

How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?

I would like some clarification on how to achieve the following structure: Posts & Categories domain.com/blog/ - Blog index domain.com/blog/%category%/ - Blog category archive ...
0
votes
2answers
333 views

widgets_init actions not fired from functions.php's child theme

I need to add new sidebars for using them accordingly on different pages throughout my shop. I use Woocommerce and my own Storefront child theme. This is a snippet of what is in functions.php file ...
0
votes
0answers
29 views

How to Hide ( or using one image) product images from guests?

I would like to make conditional function but i could not figure out how to make it. Simply, i want to hide product images from not registered users, when they register and then see the product ...
1
vote
0answers
16 views

Woocommerce: quote latest product review

I am looking for a way to display the latest product review in page (not sidebarwidget). Is there a shortcode or line for that? Regards, Louis