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

learn more… | top users | synonyms

1
vote
1answer
63 views

Adding a Clone link to product attributes - post_row_actions() filter, or how to override a Class question

I have a request to be able to duplicate a product attribute in WooCommerce. Think: duplicating a product (with already existing functionality), or plugins that allow you to duplicate a post. ...
1
vote
0answers
42 views

Custom Fields for Variations in Product Attribute Table

I have successfully been able to follow Remi's tut on how to add custom fields for variations. I have also been able to add in additional rows for the "additional info" table in the tab. I ...
1
vote
2answers
60 views

Delete transients in website

We have so many error happen on website (WordPress and Woocommerce) error log and it will show the following error message WordPress database error Deadlock found when trying to get lock; try ...
1
vote
1answer
92 views

Woocommerce custom category page with pagination [closed]

I want to create woocommerce category custom template. i am not sure i am doing it the correct way or not. What i did is I edited taxonomy-product_cat.php file. , In my code i am able to get ...
1
vote
1answer
33 views

Translating add to cart woocommerce button

I am trying to translate add to cart button. I have 2 code snippets from woocommerce documentation here are they: FOR SINGLE PRODUCT - THIS ONE WORKS add_filter( ...
1
vote
0answers
63 views

How to find the hook(s) that make site slow

I am working on a site and it is working fine except one thing that it is very slow. I tried to figure out that which plugin or theme is creating the problem and find out that woocommerce-subscription ...
1
vote
1answer
56 views

creating a custom shop page display on archive woocommerce

Hello guys how are you? i am not that good at developing websites and i need to have more experience. can you guys help me? i had an idea on the screenshot i have on the link below. as you can see i ...
1
vote
0answers
48 views

How to Add Class or ID to a WooCommerce Layered Nav Widget

I'm looking to modify the class/id of a WooCommerce Layered Nav widget by adding in a new class or ID if the widget is displaying for a WooCommerce attribute (ex. Sizes, Colors attribute). Is there ...
1
vote
0answers
16 views

Create a Button alongside add to cart

i want to create a button alongwith add to cart that will perform a specific function. please tell me how to do this.Also can you tell me the css of this button so that the button looks exactly like ...
1
vote
0answers
55 views

AJAX Request not working for Wordpress Multiple Shipping Addresses Plugin

I have a pretty urgent question and I need some help figuring out this issue. So I bought the Wordpress Multiple Addresses plugin because my client needs the functionality for their e-commerce site. ...
1
vote
0answers
20 views

Adding a custom product filter

I'm currently working with woo-commerce. I'm looking to add a custom product filter (I'm looking to build this as a learning exercise), currently my product categories pull back all products in that ...
1
vote
1answer
35 views

Creating loop within functions.php

I'm using Woocommerce on my website, on the checkout page I've got a custom select checkout field with radio buttons. I'm using this working snippet within my functions.php: /** * Add the field to ...
1
vote
0answers
119 views

How to add WooCommerce Add to Cart button in widget?

How can I add a separate WooCommerce widget, with the Add to Cart button and its options, so I can display it anywhere in the sidebar of the product details page?
1
vote
1answer
126 views

add_filter to modify woocommerce_cart_item_name hyperlink

I would like to override the woocommerce_cart_item_name hyperlink in order to direct the user to my own page when they click on the name of the product in the cart. I do not want to modify the ...
1
vote
0answers
27 views

Woocommerce Postcode/zip two seperate fields (numbers & letters)

A client of mine wants to keep the numbers and the letters of the postcode seperate ex. 4800 AA. Is there a way to do this easily? I've been looking around for some plugins with which i could do ...
1
vote
0answers
201 views

get product title ID and price and product picture woocommerce by cat-id query select mysql

i have query that return categories in woo-commerce like this: SELECT wp_terms.term_id AS id, name FROM wp_terms INNER JOIN wp_term_taxonomy ON wp_terms.term_id = wp_term_taxonomy.term_id WHERE ...
1
vote
1answer
16 views

woocommerce prices location in DB

I'm looking for location of product's prices according to the option which user select in product price. for example ,this woocomerce shop sakala.ir/product/bundle-cashmere-3 has a select which ...
1
vote
1answer
57 views

WooCommerce - Display nested list of all subcategories on archive-product.php

When a user clicks on a product category from the WooCommerce shop page, instead of the default, I need it to look like the below design, the second picture marks what I mean: So basically, I ...
1
vote
0answers
23 views

How to show WooCommerce custom value in product page?

This my website. I just updated WooCommerce today and I lost my customization. With this value I was showing my product weight: and it was showing on the frontend like this: but after ...
1
vote
0answers
115 views

Create WooCommerce subscription on import CSV order file

I have a WooCommerce WordPress site running, with the upload function of customer / Order / CSV Customer Import Suite (WooThemes). This only uploads my orders & not my subscriptions ( Woothemes ...
1
vote
0answers
138 views

Importing Product Variation Images Swatches

I want to upload several thousand variable products to Woocommerce using the WP All Import plugin. I also want to display product variations using the Color or Image Variations Swatches plugin, which ...
1
vote
0answers
15 views

How to assign a customer to an order?

I have a problem assigning a customer to an order using a php script. Is it even possible? I know, that it is possible to get the customer ID back from the order, but I can't find a way, how to set ...
1
vote
0answers
19 views

Woocommerce Subscriptions: Change Upgrade/Downgrade Link

I'm trying to change the default page used when switching a subscription. The snippet of code below does change the location but it doesn't add the nonce permalink to actually change the plan. Anyone ...
1
vote
0answers
41 views

How can I contact a function inside a plugin's class?

I have a plugin, and it has a some functions inside a class, look like this: class Sat_WC_Order_SMS { ... public function __construct() { $this->instantiate(); add_action( ...
1
vote
1answer
225 views

Remove Woocommerce product link

I'd like to remove the link from the Woocommerce product listings. I don't need the user to see the product detail pages, we are going to use Quick View instead. Anywho, I have been searching and ...
1
vote
1answer
100 views

Set quantity of woocommerce product on page visit

I'm trying to set the quantity of a product on visiting a page. If the product isn't in the basket, the code works fine and adds the correct quantity. However, if I have anything in the basket and ...
1
vote
0answers
50 views

Woocommerce order query parameters IP address

I need to list all orders in a specific date and exclude ordrs from specific ip address. I know how to retrieve the order from a specific date $args = array( 'post_type' => ...
1
vote
1answer
45 views

My new button is in the wrong place

Initially, I was trying to have the "Add to Cart" button change to "Make an Inquiry" based on the condition of availability and whether there was a price inputted, or not. I kind of got the ...
1
vote
1answer
121 views

Taxonomy , subtaxonomy,child taxonomy of a product woocommerce

Hi i need to get the main taxonomy and sub taxonomy of a product in woocommerce . i know how to get taxonomy details .123 is product id . $terms = get_the_terms(123, 'product_cat'); I know how ...
1
vote
0answers
52 views

WooCommerce : Integrating SMS API not working

I'm trying to integrate sms api with woocommerce to send the automatic order updates to customer's mobile number which they have entered while placing an order. I've written below code in ...
1
vote
1answer
140 views

woocommerce change currency per category [closed]

I am trying to display a different currency on a specific category within my Woocommerce store. Specifically, this category is full of items that can only be purchased through myCred points. The rest ...
1
vote
0answers
37 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 ...
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
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 ...
1
vote
0answers
111 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 = ...
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 ...
1
vote
0answers
32 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 ...
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 ...
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
150 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. ...
1
vote
1answer
101 views

Getting WooCommerce product related child categories

I am completely stuck on what seems to be an easy thing. I hope you can help me with it. Each WooCommerce product will be added to one "car brand" child and one "car model" sub-child category of main ...
1
vote
1answer
28 views

Do I need a different product type for WooCommerce [closed]

We are running a WooCommerce WP website that sells fabrics for upholstery. We will soon be looking to sell cushions, blankets etc. What would be the best way to manage these different products? Or ...
1
vote
0answers
16 views

Taxonomy in woocommerce

Create brand taxonomy WooCommerce As I can list for each brand product categories that have ? For instance : If there are products Acer , in the category servers, accessories, and desktop . And ...
1
vote
1answer
77 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 ...
1
vote
1answer
171 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 ...
1
vote
0answers
82 views

Woocommerce bind different price to different variations [closed]

Recently, we've decided to transfer from Magento to WordPress. We have ~1500 products already. Now, we have products with for example: Size. Now when a customer clicks on a different size in a ...
1
vote
0answers
59 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 ...
1
vote
1answer
194 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 ...
1
vote
0answers
70 views

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 'Flat ...
1
vote
0answers
35 views

Custom Options (image or file) in WooCommerce

I want to show a Custom Option's image or file, instead of image or file name, in order view page in admin and order page in my account in front end of WooCommerce. I have used this hook: ...