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

learn more… | top users | synonyms

0
votes
1answer
66 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
0answers
128 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
1answer
92 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
28 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 ...
0
votes
1answer
22 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
1answer
156 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
139 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 ...
-3
votes
1answer
48 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
1answer
293 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
0answers
163 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
1answer
38 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 ...
0
votes
0answers
35 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 ...
1
vote
0answers
20 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
votes
2answers
198 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
3answers
310 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 ...
1
vote
0answers
37 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 ...
0
votes
0answers
89 views

Using both woocommerce default category display display types for different categories

I have two WooCommerce Category types, Films and Collections, each with associated sub categories. I want to be able to use both WooCommerce 'Default Category Display' types i.e. the list view (show ...
-2
votes
3answers
86 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
107 views

Woocommerce cart subtotal showing subtotal double than what it is in the cart [closed]

I'm trying to add some products programmatically using the "init" hook. When I added the following code, the cart items are added correctly. But the subotal is showing double $product = ...
2
votes
1answer
54 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 ...
0
votes
1answer
232 views

Add product description (content) to WooCommerce customer processing order email

I'm looking for a way to add the product description (content) to the WooCommerce customer processing order email, as it contains important information to pass to the customer that they need for their ...
0
votes
0answers
22 views

WooCommerce Multiple Product Names for Search

Is it possible for the product search to work with multiple product names? For example, I have a product, HL-334B. I'd like the end-user to still find this product if they type in hl334b. Right now, ...
0
votes
0answers
56 views

Special filter link for custom meta query

I want to add a link called 'Missing Constituents' above the list of posts that will allow us to show the posts that do not have a certain custom field. Using the code below, my filter link shows up ...
0
votes
0answers
32 views

child theme extend parent theme

I made a website with WooCommerce using WordPress. I have create a child theme for the theme storefront from WooCommerce. I have change the default theme for another and after I set my child theme ...
0
votes
0answers
20 views

Add woocommerce category thumbnail to the other taxonomies

Woocommerce by default includes category images, shown in the left column of the below image: I have added my own custom taxonomies and I'd like to extend this functionality to them. At present ...
0
votes
0answers
20 views

woocommerce category

i made this: <?php do_action( 'woocommerce_product_meta_start' ); ?> <?php echo $product->get_categories( ', ', '' . _n( '', '', $cat_count, 'woocommerce' ) . ' ', '' ); ?> <?php ...
0
votes
0answers
45 views

Make WooCommerce search return all products in a category if the category title matches the search word

I would like to have it so that the search returns more results to the shopper. For example: I create a category called "Halloween". There are 20 products in it. 2 products contain the word ...
0
votes
0answers
89 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
0answers
134 views

Custom Message with Order status from WooCommerce Payment Gateway Callback to Order Thank You Page

I would like to pass on the custom message to order-received page in woocommerce. Here how i currently handle the callback from payment gateway if ( isset( $_REQUEST[ 'callback' ] ) { ...
0
votes
0answers
57 views

Add Custom Fields To Variable Products WooCommerce

I am working with the most recent version of WP, AVADA THEME, and WooCommerce. I have variable products which require the shopper to select COLOR, SIZE, and MATERIAL to dial down to the correct ...
0
votes
0answers
48 views

WooCommerce session data getting mixed up

it would be great if anyone has any advice for me on this matter. I launched a new website a few weeks ago which runs on WooCommerce. We've been having some strange issues over the past few days with ...
1
vote
0answers
23 views

Rewrite woocommerce categories widget urls

I am attempting to rewrite the list of categories url in woocommerce categories widget printed to the page. Not sure if I am adding this to the correct hook, or where I went wrong. function ...
0
votes
0answers
9 views

Product in two (or more) parts, every part with each own variation

I would like to achieve the following scenario: The shop is selling uniforms. In the page containing the uniform the buyer should be able to select if he wants to buy the jacket. If yes he should be ...
0
votes
1answer
50 views

Show all author products from specific category

I used this code to get all the products of a specific category, but how can I show only the author's products of a specific category? <div class="author_products"> <ul ...
1
vote
0answers
31 views

Can't get WooCommerce Category to display in loop

So. I'm trying to display only a certain category on my page, but it keeps saying "no matched posts with your criteria" (only in Dutch, so forgive me if the error message is poorly translated). I'm ...
0
votes
0answers
147 views

Add product to cart and change price, within template file

I'm trying to add a product to the cart which has a price of 0.00 and then dynamically change the price depending on what the user on my site inputs into the form I've made. I've looked at a couple ...
0
votes
1answer
82 views

Product categories don't appear as option to build menu

I am trying to add my product categories as top level categories in the navigation bar on my site. Under the "categories" option in appearance > menus, the only thing that appears under categories ...
1
vote
0answers
19 views

Product search page now appearing at bottom of page instead of top

Until recently, if I used the "search" feature on my website, the results would be at the top of the page. Now, they appear under the banner and a slider. I'm not sure how to fix this. This seems to ...
0
votes
0answers
181 views

How to add product variation description and stock details in woocomerce variable product programmatically

I am able to add price of the variation but not able to add the product description. Any idea how to do this. There should be description of the each variation of the each variable product, also all ...
2
votes
0answers
55 views

Woocommerce checkout via external page [closed]

I have am working for a website that sells subscriptions to virtual products. They are running on WooCommerce, and they are requesting what seems quite a complex feature to implement. The website ...
0
votes
1answer
51 views

How to redirect WooCommerce shop URL?

Is there any way to redirect WooCommerce default 'http://website.com/shop/' URL to 'http://website.com/shop/all/'? After a long research found this : How does Wordpress redirect to WooCommerce shop ...
0
votes
0answers
112 views

Use Woocommerce Ajax Product Filter in Userpro template page

I have Woocommerce and YITH Woocommerce AJAX Product Filter installed and I'm using it with Userpro and custom templates for both. I want to show product filters in Userpro user profile page by ...
1
vote
0answers
29 views

WooCommerce free products always first in catrgory/archive loop

I needed to make some products to show POA instead of the price, so I used FREE products option and changed FREE text to POA. Now I've got a request to make those products to always be first when ...
1
vote
2answers
148 views

Create custom post type on successful woocommerce order

On the checkout page I have a custom field that gets saved to the order meta data. I need to grab the order meta data and create a custom post type and fill the custom fields with order meta data. ...
0
votes
0answers
12 views

WooCommerce cart notices as single concat string

So currently WC displays cart notices by looping through an array, making for a kind of ugly list at the top of the cart when the user forgot multiple required fields. I would like to filter this ...
0
votes
1answer
197 views

How do I update product shipping using PHP in WooCommerce?

I am creating products using a PHP/HTML form. Here is how it works: Specify dimensions, quantity, and attributes in the form Send that info to create a new product on the fly when I hit "Calculate" ...
0
votes
1answer
137 views

Override core woocommerce class

I have to override following WooCommerce core class methods: WC_Cart()->get_discounted_price() WC_Coupon()->validate_cart_excluded_sale_items() What I'm trying to do is WooCommerce does not ...
0
votes
0answers
116 views

Send New Order email to Admin on custom Status

I have created my custom order status "Pending Approval" as Default Order Status, Means if a customer order something from store, it will place it under "Pending Approval" instead of "Processing", ...
0
votes
0answers
109 views

New Custom Field on Registration Page

i need to customize my registration user page on WooCommerce. I add some code on function.php but i not see the info on backend user page (and also front end user page). I have the probem with field ...
0
votes
0answers
203 views

Woocommerce: trigger new order email without changing status

We are working on trying to process phone pledges for a non-profit where the payment is not received and will be invoiced. I have a custom checkbox field in the Woocommerce admin, when checked, I ...