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

learn more… | top users | synonyms

0
votes
0answers
29 views

Add tags to kses_post array parameter

I think I butchered the title but (code below) I am trying to wrap some tags around whatever is written in the $message array, is there a way to do that? Also, is there an easy way to change the $...
0
votes
0answers
65 views

How to create a coupon in the database?

I added over 1000 coupons (schedule ones) in the database. I had one line in wp_posts and several wp_postmeta tables per coupon. To add, I've saw how a coupon was represented there and I've made ...
0
votes
0answers
17 views

woocommerce recent products without certain category

I'm using WooCommerce and MyStile (Theme) Let's consider that I have following categories: Fruits Cars Electronic Software Now on my homepage I want to show the new Products, but only of the ...
0
votes
0answers
44 views

Different template for different category in woocommece

I have two categories in woocommerce One is astrology and Other is numerology. Be default, Woocommerce call archive-product.php for category archive page, but I want to show different layout for each ...
0
votes
0answers
46 views

Woocomerce update variation sale price in functions

i need to write simple code that changes sale prices automatically. Got a lot of products, and sometimes we got promo for one variation of the specific product. Basically, what my codes does its ...
0
votes
0answers
31 views

Private post hidden from Admin too

I have a strange problem. I am running a woocommerce site with several levels of privileges/roles. I wanted to reserve a group of products for specific users and was anticipating modifying the user ...
0
votes
0answers
18 views

How can I manually set an order for specific category in Woocommerce?

I have a shop page in Woocommerce where I manually put the order number through the product page. This is fine when they view the entire collection. What I want to do is set a second order number for ...
0
votes
0answers
38 views

Query/load only WooCommerce shop categories into a custom landing page?

I want to reuse the WooCommerce shop-categories in a custom grid landing page, but without the product images, as I am using custom images to make the grid wall. What is the best way to do this? ...
0
votes
0answers
90 views

Woocommerce only show attributes for specific category

I can't work out how to do this. I want to list the pa_country attribute terms for a 'wine' category in the sidebar. I can list all the 'pa_country' attribute terms for all categories, but that is ...
0
votes
0answers
113 views

Add conditional field to woocommerce checkout

I added a few fields to the woocommerce checkout form in my theme. I want to change the list of fields based on the selected value of a select field, e.g: if the user selects "Private" as the customer ...
0
votes
0answers
72 views

I want to show products based on post tags

Id like to get WooCommerce products on the blogpage (single.php) by tag whereas the tag is the same as the blogpage. The idea is when users read the text, they get related products based on tags from ...
0
votes
0answers
32 views

Get option selected programmatically

I am building a theme options page which will auto activate WooCommcerce. The users will also import demo content which will contain WC pages like Cart, Checkout, My Account and Shop. In the theme ...
0
votes
0answers
49 views

Only show WooCommerce product notices

I have a loop in my header that will check the notices and only show them if they are not an error message. This loop is inside a div which is aiming to show e.g. "Product X added to cart" as a pop ...
0
votes
0answers
44 views

Woocommerce extra shipping charge for specific product

i have a product1 with id =1 I need to add extra shipping charge for product with id=1 Current Shipping settings : Flate rate is enable cost is 20 Freeshipping is enable with minimum order amount ...
0
votes
0answers
16 views

woocommerce - setting different variations in different tabs

In Woocommerce, I am trying to figure out how to reorganize the layout of my variations. I would like to set different variations in different tabs. Can this be done? If so, how do I go about doing ...
0
votes
0answers
69 views

Woocommerce - Adding text count of a textarea to a variation of a product

I have a textarea that is a variation of a product in Woocommerce. As the user types, I have the JS output the character count. I am wondering how I can send this count to woocommerce to be added as ...
0
votes
0answers
30 views

How products can be ordered (orderby) in WooCommerce cart

The code below creates a product, which is automatically added to the WooCommerce cart. How can I make an "orderby" with these products, which is created with this code? Example: If I create a ...
0
votes
0answers
20 views

Auto assign WooCommerce pages upon install & activation

I want the my theme imported WooCommerce pages be auto selected/assigned upon plugin install & activation for my account, cart and checkout. I have removed the onboarding wc setup with this ...
0
votes
0answers
218 views

Woocommerce - change price of a variation product programmatically

I have a product that has a variation called 'Width'. It is predefined at a certain price from woocommerce plugin. I want this Width variation to change based on what the user inputs so I need to ...
0
votes
0answers
24 views

Woocommerce different categories and wrong permalinks

I have a category called "Foods" set up. It includes two sub-categories "Dry foods" and "Wet foods". Each of them includes a "Brand" subcategory. When I'm adding products to Foods/Dryfoods/Brand/...
0
votes
0answers
46 views

Woocommerce relative fonts causing https error

If you view this website and view the console you will see the following errors: Mixed Content: The page at 'https://www.creamcornwall.co.uk/' was loaded over HTTPS, but requested an insecure font '...
0
votes
0answers
19 views

Show “Parent Term / Term” in Edit Product Attributes tab - Multiple terms with same name

I have a WooCommerce site which needs to use the same term name in different parent terms under a given attribute. It has to be done this way because of the in-house infrastructure being that way. ...
0
votes
0answers
183 views

Add custom fields from Woocommerce Attributes in check out page

I've added some custom fields, using ACF, for attributes in Woocommerce. So when you add an attribute you can add some more info. I achieved to show them in the product page but I can't find a way to ...
0
votes
0answers
20 views

How to clear WooCommerce cart on page visit?

I'd like to clear the cart every time a user visits a certain page, i.e.: www.example.com/clearcart I'm using this code (in my theme's functions.php) in order to get the job done, but unfortunately ...
0
votes
0answers
30 views

Problem to add subdomain to woocommerce website

As I read all questioner about my problem but couldn't find exact solution. 1) I have hosted my woocommerce website on www.mydomain.com. 2) Domain name is purchased from GoDaddy.com where I have ...
0
votes
0answers
45 views

Fatal error: Call to undefined function wc_format_decimal() in class-wc-meta-box-product-data.php on line 996

I Get this error when trying to add a new product. If I refresh the products page, the new product will show up. I can make changes to the product information but the price never updates. It just ...
0
votes
0answers
34 views

woocommerce checkout keeps reloading for logged in customer

So when a user in not registered goes to checkout page when he sees a option to create account when he does and adds another product to while being logged in and proceed to checkout the checkout page ...
0
votes
0answers
28 views

Force WooCommerce product type to be virtual / downloadable?

I'm customizing a WooCommerce store that will only be selling downloadable / virtual products. I need to change the default type of products to downloadable/virtual, so when the admin adds a new ...
0
votes
0answers
40 views

WooCommerce - My Account - jQuery not working?

I've add some pagination to the my account page to paginate the order history. Everything works great except when I click the "Edit Account" tab the navigation bar I created for the order table is ...
0
votes
0answers
70 views

How can I use the Woocommerce REST API for Subscriptions

I have found documentation for the Woocommerce REST API:http://woothemes.github.io/woocommerce-rest-api-docs/#introduction but it does not support subscriptions. How can I use the API to check ...
0
votes
0answers
19 views

Woocommerce - layout for variations possible?

I am wondering how is it possible to change the layout of the variations and variation fields from Product Add-ons extensions? They are automatically displayed as a 1 column grid with each row as a ...
0
votes
0answers
18 views

function to add radio inputs that set custom fee

I'd like to add a custom fee to orders, and have that custom fee be chosen by the customer. So, under the 'Add to Cart' button, there should be a few radio inputs with set dollar amounts. By ...
0
votes
0answers
49 views

Way to target parent product category and all sub children

This might be a weird question but I have the following if... statement: if ( is_product_category ( array( 'parent_category', 'child_category', 'child_category', 'child_category ) ) ) { I am ...
0
votes
0answers
45 views

jQuery hover events within Ajax loaded div

I've built a custom theme for a WooCommerce site I am working on. I have recently added the Advanced AJAX Page Loader plugin to load all elements within the #content div. I am now having 3 issues. ...
0
votes
0answers
82 views

WordPress database error Deadlock found

My website become slow due to this issue. WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM wp_options WHERE option_name LIKE '...
0
votes
0answers
80 views

Custom Password Complexity

How can I go about changing the built-in password complexity? Using latest wordpress and woocommerce. When a user goes to register with a password, they are shown a password meter and can only ...
0
votes
0answers
115 views

Adding metadata about a product attribute in WooCommerce

I'm trying to create a apparel store where each product (variable product) has a brand/designer associated with it. I can store the name of brand/designer as a product attribute. However I want to ...
0
votes
0answers
131 views

Woocommerce Cart and Minicart add total save

I want to add field near subtotal that total saving dependent on $product->regular_price - $product->sale_price is equal to $discount then total of all the $discount will show up near the ...
0
votes
0answers
112 views

How to get last order number in Woocommerce and insert next?

I am developing an offline product to retail. This will be sold by a distributor NOT through my website. I have an sequential order reference system based on woocommerce such as 152, 153 etc. I want ...
0
votes
0answers
29 views

Query array of product IDs

I'm trying to create a basic messaging system where I can create a message within a CPT called 'messages' and then link it to a particular product in WooCommerce using ACF Relationship field. The ...
0
votes
0answers
66 views

Only show products of current category in product archive. (Woocommerce)

In my product archive I need it to show the products only in the current category and then underneath I will list the child categories. I will be able to add the child categories easy enough but how ...
0
votes
0answers
12 views

Is possible on wp to create automatic user after someone make an order

I have a wp site and i use just this checkout fields First name : Last Name: Email : Number: Adress : Other Information: And i want to creat automatic user after someone make an order, is this ...
0
votes
0answers
73 views

WooCommerce - Force subcategories to use parent category custom template

I currently have a top level Woocommerce category of 'Artists' and I have created a custom template for this page 'taxonomy-product_cat-artists.php' How could one force all of its sub categories to ...
0
votes
0answers
51 views

custome woocommerce category page

i want to create custom category template for woocommerce category page. i search in google lot but don't get yet anything which can help me to figure out. but i tried many way not full success yet. ...
0
votes
0answers
53 views

cart_contents_count() and mini-cart issue with composite products

i got a problem with composite products plugin and mini-cart widget. My theme shows in mini cart bubble (item(x)) the sum of every component of composite product, instead of a single product. On the ...
0
votes
0answers
50 views

How to send Email to Dealer email id when order is cancelled woocoomerce

I am trying to send the mail to my Dealer which user has choose during checkout that your order is cancelled . I have prepared a system to which sends email when order is placed my code is add_action(...
0
votes
0answers
132 views

Move variation price above product description

I have been trying to move my the price location inside my variable products for ages with no success. I've been through class-wc-product-variable.php and tried changing the location of a couple of ...
0
votes
0answers
35 views

Moving Woo Commerce Price under product description

I have been trying to move my the price location inside my variable products for ages with no success. I've been through class-wc-product-variable.php and tried changing the location of a couple of ...
0
votes
0answers
41 views

Custom email if woocommerce order quantity is more than 1

I'm trying to edit the default Woocommerce completed & processing emails that are sent after checking out with some conditional criteria. I have some info to include that is only relevant is a ...
0
votes
0answers
24 views

Multisite Woocommerce Price Plugin Help Need

I want to make woocommerce multisite plugin. Which can share price and convert into local currency from main website. Price share based on user desire, not for all products. If someone know about ...