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

learn more… | top users | synonyms

-1
votes
1answer
42 views

redirect not logged in users to specific page and redirect them back where they come from

The problem is not the first redirection (already solved in other case here), the problem is the second redirection back. No problem with the first redirection, when no logged in user come to page ID ...
1
vote
1answer
258 views

How to set value/term of a Woocommerce attribute text field in admin panel?

I am developing a plugin which is supposed to auto-fill the attributes text field. There is a URL text field where user enters URL, on focus out I trigger a AJAX call through which I am able to save ...
-2
votes
0answers
10 views

Woocommerce: Cart Items Changed When Products Added Before Login

I am encountering the following scenario. A registered user at the site. user: shopadmin, pass: admin123 Adds a few products to cart while logged in at the site. User then logs out. Same user ...
1
vote
2answers
28 views

Following migration from DEV to LIVE, woocommerce can't checkout

I've spent all day on this and I've run out of ideas. https://www.thunderbrook.co.uk I've taken over dev of an old site that was running woocommerce with a Theme by cardinal. I wasn't comfortable ...
0
votes
0answers
41 views

woocommerce Fatal error: Call to a member function add_product() at Checkout

I'm getting the following error when Attempting to checkout on sub-sites of multisite install. Notice: Trying to get property of non-object in ...
-3
votes
1answer
37 views

WooCommerce order note color

Is it possible to give different color for different order notes blocks in order detail page? For example; green for "Order status changed from Processing to Completed." blue for "Order status ...
0
votes
0answers
11 views

Latest Products Calling the Layered Navigation & Filters Dont Work

I have a empty category called latest-products. The categories have the layered navigation setup so that when a product is in the category the layered navigation works. I've been able to get the ...
0
votes
0answers
14 views

WooCommerce Not Calculating Tax Correctly

I followed the documentation to set up our taxes...but it's way way off (by $60 dollars, on the item I was checking!). We charge tax only to customers located in Michigan, which has a 6% sales tax. ...
-1
votes
0answers
79 views

Email notification for custom order status

I'm using woocommerce in my site and I create a new custom order status with code from an article. I made a custom status named "shipping'. This is the code // Register New Order Statuses function ...
-1
votes
0answers
21 views

How to build vendor catalog with shortlist function?

I am building a site where buyers lookup for vendors, category wise and shortlist them based on their requirements.When buyers select the category,i want the vendors list of that category being ...
0
votes
1answer
19 views

How to remove image on single product and get product to span page?

I'm using applay and have created some minor customisations with a child theme. I'm wanting to have a single product displayed without an image. I'm using this code in my theme's functions.php ...
-1
votes
0answers
9 views

Woocommerce Product Addons for Category Page

I'm trying to figure out how to display the product add-on extension option on a category view page. It works properly on a single product page (assembly), but I need it on a category view page Any ...
-2
votes
0answers
36 views

Woocommerce wish list button on a category page

I'm trying to add a wish list button to a category page. I added this code to the functions.php add_action( 'woocommerce_after_shop_loop_item_title', array( WC_Wishlists_Plugin, ...
0
votes
0answers
14 views

Certain files executing more than once

this question is about curiosity more than problems, but I noticed today that certain files in Wordpress are called multiple times. I don't know if this is as things are or if something is wrong, so ...
0
votes
0answers
25 views

Cookies not working

I have a development server on DigitalOcean and my client's Rackspace production server. I did a migration of their WooCommerce site from one server to the other. On the development server, cookies ...
0
votes
2answers
30 views

When creating a new order (on the dashboard) how can I get the ID of the selected customer

On the checkout page, on the Billing Details section, I added two custom fields: Alpha and Beta. During checkout these fields are edited by the user and then saved together with the rest of his ...
0
votes
1answer
26 views

Customizing WooCommerce

I'd like to customize something in woocommerce. Here is the example: I've added some categories in woocommerce (Product Categories). For example, there are two categories like "SALE" & "New ...
1
vote
0answers
28 views

Programmatically set parent page for given pages/templates [closed]

I have a WooCommerce theme that I'm working on, and I'm trying to deal with submenus now. I'd like any product page (archive/single product/etc) to have the parent page 'Shop'. That way I can get the ...
0
votes
0answers
7 views

Unable to Increase the Number of Column on Woo Commerce Shop Page

I used this code in functions.php add_action ('init', 'change_columns'); function change_columns() { add_filter( 'loop_shop_columns', 'custom_loop_columns' ); function ...
0
votes
1answer
46 views

get woocommerce My account page link

I am trying to send an email to customer after purchased products and when customer click on the the link provided the email for rating the product it should redirect to customer's account/My account ...
-1
votes
1answer
28 views

How to change order of elements using a child theme

I am creating a child-theme to storefront, and for my specific purpose I want the meta information (tag, category, etc) to be available at the bottom of the page, and not right after the 'Add to cart' ...
0
votes
0answers
7 views

Woocommerce 'virtual product for pick up' issue

I've set up a shop that now has an issue. It's not super complicated but I can't figure out a better way to do it. We're selling mountain bike permits that can be picked up in 5 different ...
0
votes
1answer
442 views

Blank search results on custom search

I have a custom search with the following line of html in the form: <input type="hidden" name="post_type" value="product" /> This correctly appends: &post_type=product to the search query ...
-3
votes
2answers
65 views

DatePicker in Woocommerce (My Account) Registration [closed]

I have googled for this and, did not find any solution. I am trying to add Birth date (datepicker) field in woocommerce registration page. The registration form has been created as per guidance ...
-2
votes
1answer
35 views

Order shipped by which driver[hook for woocoomerce order staus changed and popup in admin panel ] [closed]

Hi is it possible to make an extra field in backend, when orders are selected and marked as shipped then an extra field come and where i can select drivers who are responsible for this shipped order ...
0
votes
0answers
16 views

plugin development for woocommerce

i create this plugin: A discount in % for woocommerce price, but i have a problem: add_action( 'woocommerce_product_options_general_product_data', 'crele_add_custom_general_fields' ); add_action( ...
0
votes
1answer
42 views

Display File Types For Woocommerce Downloadable Products On Product Page

I offer downloadable products with woocommerce and each product is allowed to have multiple files. I would like to display the file types/formats on the product page so users know what each product ...
0
votes
1answer
42 views

Woocommerce Register Error

Before posting this question i have tried solution posted here https://support.woothemes.com/hc/en-us/articles/202828575-Redirect-to-a-custom-page-after-logging-in I need to redirect user at specific ...
0
votes
1answer
59 views

Get product link

I want rating from customers by sending mail after order is completed. If customer will click link on mail for review it should redirect to same current product page of my site. How do I do this. I ...
0
votes
0answers
48 views

Extracting attribute term/name for each variation product

I'm customizing a popular XML exporting tool for Woocommerce. I've got an issue on extracting attributes names for products variations. I tried the following code but i get all attributes names ...
0
votes
0answers
16 views

After sorting product with default sorting why redirecting on shop page instead of category page

I have website with woo commerce product's. I have 3 category's for product's Online Diet plan , Health Consultation , Corporate Wellness all of each category have more that 20 product's. On category ...
3
votes
1answer
3k views

How to get Woocommerce order product info

I am trying to get all woocommerce orders and find info about the products in each order. I have seen many examples on here and elsewhere on the web and they all seem to say to do the same thing but ...
0
votes
1answer
16 views

How to add a menu page for options in wordpress for user that has the role of vendor?

I want to add new options page ONLY for those users whose role is vendor. How can I do that? This is my current code. add_action('admin_menu', 'business_settings_menu'); function ...
0
votes
0answers
48 views

How to rewrite product links in WooCommerce

Please help me with this case, I try to do a lot of think but it not work. My website have 2 types of links and I want links like this: Post: domain.com/post-name.html Product(WooCommerce) : ...
0
votes
1answer
31 views

Adding product to WooCommerce cart [closed]

I have a product category called mobile. In every mobile category product purchase I need to add a free product and it's ID is 1245 to the cart automatically & customer needs to see a message that ...
-1
votes
2answers
49 views

Woocommerce hook after creating order? [closed]

I am looking for a hook which will be triggered after someone submit checkout form and order placed ( no matter he made the payment or not ) . I tried woocommerce_new_order But it's not working.
0
votes
1answer
68 views

Getting Wordpress database error Deadlock

I keep getting errors like the following: [29-Dec-2015 03:06:14 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM wp_options WHERE ...
0
votes
1answer
43 views

Delete All Product Images in phpmyadmin

I've just inherited a site that's being migrated to a new host, and I'm attempting to tidy up the database during the process. The WooCommerce site had roughly 10,000 products resulting in somewhere ...
0
votes
1answer
60 views

WooCommerce return 404 on category pages

I am trying to set up WooCommerce permalinks to get something like: example.com/shop/ => Shop page listing products example.com/shop/category-name/ => Category page listing products from a category ...
0
votes
3answers
59 views

Hide price, “add to cart” button and show message “Please log in to shop” [closed]

My problem is simple, I just don't want user to shop unless and until user is not logged in. I also want to show specific message "Please Log In First" instead of price or add to cart button on the ...
0
votes
0answers
274 views

Category priority for multiple categories in WooCommerce

I'm running WooCommerce and I am trying to figure out a way to define which category ID (or slug) should be used for the automatic permalink generation. I have searched low and high for a solution, ...
0
votes
0answers
51 views

Save WooCommerce custom field values without “Updating” Admin Post

I'm creating a website that is on the WooCommerce platform and what I'm essentially trying to do is add another option to the sorting feature of the plugin by using a manually created custom field ...
0
votes
0answers
14 views

WooCommerce - order products by default or a-z

I have changed the Breadcrumb Bar in breadcrumb.php and added 2 arrows "> next" and "< prev" to the right top, and now we are able to browse the products. To do this, I get the category of the ...
0
votes
1answer
786 views

Programmatically create product category and add thumbnail in woocommerce

I'm trying to create product-(sub)categories on a WordPress installation. The (sub)categories part is no problem at all, but I can't seem to find a way to add the thumbnail image to the specific ...
2
votes
1answer
38 views

update default search function and get postmeta entries

I want to get post meta entries in woocommerce. When user search anything from default search bar. Data should be also returned from post meta table. So basically I need to modify the default ...
-2
votes
3answers
74 views

How to get only post='product'

I am using this code to search products from a wordpress/woocommerce website. My requirment is URL will be like "http://localhost/wp/?s=D34&post_type=product" While s=D34 is search string. When ...
1
vote
0answers
15 views

Ad “sort by” to my woocomerce shop page [closed]

I have a question regarding woocomerce, I am quite fresh to it and am not sure if this is done via some settings, or something is missing in my code. I have this piece of code to display my products: ...
1
vote
0answers
27 views

WooCommerce main categories not clickable

When I go to the main page of the shop, the primary categories aren't clickable. Someone else build the site, but couldn't deliver the expected outcome, so I hope you can help. All other categories ...
1
vote
0answers
148 views

Order by rating not works in wp_query

I need to sort my products by rating in a wp_query loop: this is my code: switch($ordering){ case 'default': $meta_key = ''; $order = 'asc'; $orderby = 'menu_order ...
1
vote
0answers
25 views

WooCommerce: Restrict users from managing certain categories and products? [closed]

I'm building a book shop marketplace, with 2 supervisors assigned to certain categories and not in relation with each other. How can I restrict certain WooCommerce categories and related products, by ...