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

learn more… | top users | synonyms

0
votes
0answers
21 views

Function to change text with <br> tags into Unordered List

I've tons of product pages in Woocommerce where product info was bulk imported using CSV file. Now, all these hundreds of pages carry <br> tags for 'features' - which I want to change to ...
0
votes
0answers
26 views

Additional stock options in woocommerce

I found a really useful piece of code in this post: http://stackoverflow.com/questions/26912556/add-stock-option-in-woocommerce/ This code adds additional statuses to the original stock options in ...
0
votes
0answers
16 views

Get WooCommerce Sidebar Layered Nav filters to work with shop page filtered by on sale products

I'm I've successfully got the default WooCommerce Shop page to only query products with an on sale status thanks to this link here http://www.kathyisawesome.com/woocommerce-modifying-product-query/ ...
0
votes
0answers
10 views

Can't display tag cloud by widget

I want to display tag cloud products and to use the widget of woocommerce - Tags products. Tags isn't displayed even though they are added to the 90% of the products. Tested on other sites and work ...
0
votes
0answers
9 views

Remove WooCommerce menu_order_count action

Trying to remove the action that adds the processing order count to the WP Admin menu with the following but the count remains in the menu: remove_action('admin_head', array('WC_Admin_Menus', ...
0
votes
0answers
41 views

Woocommerce Product Add-ons - Auto-select first option

The agency I work for are trying to get a client's website to auto-select the first option on the maintenance packages for their products. Currently, we are using an if statement within a foreach. ...
0
votes
0answers
28 views

Changing a theme's search function to only show results from woocommerce?

I am very new and trying to learn as I go. I bought a premium theme from themeforest, without checking the functionality of various pages. Tried their support with no solution offered. Now I am ...
0
votes
0answers
12 views

Show the woocomerce success message on custom template?

How do we show the add to cart success message on the custom template. i am displaying few products with add to cart button by custom query. now when i click the add to cart button the product added ...
0
votes
0answers
10 views

Check If WooCommerce Product Downloadable From Edit Screen

I'm creating a plugin for WooCommerce and I want the metabox to show only when the "downloadable" checkbox is clicked. Are there any conditionals for this when dealing with the edit page of the ...
0
votes
0answers
26 views

Move Woocommerce Variation Price

On the single product page of WooCommerce, I would like to move the woocommerce-variation-price under the product title. I came across the following snippet... but I can't seem to find the ...
0
votes
0answers
16 views

WooCommerce Bookings Plugin Not Saving Order ID

I have built a site using WooCommerce Bookings with an AJAX request that processes the payment, creates and order and lastly creates a booking with the order ID. However, when I send the newly ...
0
votes
0answers
13 views

Loop through author and edit post tags

I'm setting up a 'free marketplace' for a friend based on wordpress and a woocommerce theme (makery). Each user has his own shop and products. Both the shop and products are custom posts that belong ...
0
votes
0answers
41 views

Hidden products included in search result count and pagination

I have this website I'm building: http://olivinelife.wpengine.com/ but I'm having an issue. If you use the search bar in the header to search for "Square" it brings back 5 results but says there are ...
0
votes
0answers
30 views

Adding product image to woocommerce through rss feed?

I'm trying to migrate thousands of products to woocommerce. I made a research and had success, using the code from this page here -> How to add product in woocommerce with php code. Unfortunately ...
0
votes
0answers
18 views

Adding a parent category, and re-assigning existing products to that parent category

I'm using Woocommerce. I have around 500 existing products, assigned to categories such as "t-shirt" "socks" "shoes". I want to put all of these under a parent category named "clothing", but the ...
0
votes
0answers
25 views

Cloning terms for an attribute

I am trying to duplicate terms for a product attribute. I was able to set up a "Clone" link from my previous question. I can successfully clone the attribute, but I am having trouble assigning ...
0
votes
0answers
26 views

How to add a description of the shipping method, woocommerce?

How to add a description of the method of delivery. Like payment methods Is it possible to add textarea in the admin panel for editing shipping method? Thank you
0
votes
0answers
18 views

how to refresh woocommerce products

i have a bunch of products in woocommerce that i had to export and fix and then re-import. Everything seemed to go smoothly except for 1 thing. Each of the prouducts had a Advanced custom field ...
0
votes
0answers
22 views

Customize add to cart

I have created a page of getting custom values from the customer but the process will be taken place in steps like select lesnes click next select product frame click next so all the information ...
0
votes
0answers
43 views

Adding functions into WooCommerce Checkout Procedure breaks order confirmation

I'm pulling my hairs out over this issue. I run a plugin named YITH Vendors which allows for individual vendors to be created in a WooCommerce shop. It offer the functionality to have vendors register ...
0
votes
0answers
22 views

How to retrieve referrer tag, and save in custom fields for each WC order?

I need to save the traffic source of each order for my Woocommerce store because I need to know what internal page or external website had resulted in that order. I'll need this for customer service ...
0
votes
0answers
12 views

Multiplying shipping cost

My site is selling a monthly box of which you can order a 3, 6 or 12 month subscription, but the total price is collected up front through woocommerce. I would like to also be able to multiple the ...
0
votes
0answers
30 views

Create custom post type and content of custom post type display in a single product page of woocommerce

Code to create custom post type is here and it's working: $args = array( 'labels' => $labels, 'description' => __( 'Description.', $this->plugin_name ), ...
0
votes
0answers
27 views

WooCommerce custom loop pagination on front page

I'm having custom page template that I use as front page of my theme. In that page i have section which lists woocommerce products using custom loop. I want to insert next posts pagination to that ...
0
votes
0answers
23 views

WooCommerce account page link

I want to have a link to mysite.com/my-account get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) This code gives me that url. Except when I'm on page ...
0
votes
0answers
8 views

Woocommerce variants CSS targetting issue

When a user is not logged in, they will not see certain things. I've accomplished this with a php/css hack in header.php <?php if (!is_user_logged_in()): ?> <style> ...
0
votes
0answers
26 views

Woocommerce, insert attributes with php

I've created a php program to dynamically insert products into the Woocommerce library. I've some problems with the attributes of my products, I've two php variables. $attribute->titleIt - It ...
0
votes
0answers
13 views

Alter Cart Contents for Specific Product Type in WooCommerce?

With this code I can alter the price for all products in the cart. add_action( 'woocommerce_before_calculate_totals', 'add_custom_price' ); function add_custom_price( $cart_object ) { ...
0
votes
0answers
23 views

How to change Woocommerce breadcrumbs content?

I want to customize the breadcrumbs directly from PHP. Some of the pages are generated dynamically and do not exist in the database, therefore i must automatically put them in the breadcrumbs with ...
0
votes
0answers
22 views

Self-cancelling orders when using WooCommerce and Stripe

Unpaid order cancelled – time limit reached. Order status changed from Pending Payment to Cancelled. I've got two clients who have reported getting this on random orders recently. Both stores are ...
0
votes
0answers
64 views

Woocommerce: Custom Price Calculation in Variation based on number of pages per book

I am developing a website were you can make and sell your own book. The Product layout needs some specific features that force me to use Product Variations and using the standard Attributes: so far, ...
0
votes
0answers
38 views

Woocommerce own single product page

I change permlink to '/produkt/%product_cat%/%post_id%' and my link looks like produkt/komputery/80/product-name/ - okey It is working. But for tests I change function ...
0
votes
0answers
15 views

Where wordpress try to find php file for site?

I have installed woocommerce. When I open site host.eu/product/category/something else `host.eu/product/sth' Where wordpress try to find .php file to run this page? ...
0
votes
0answers
54 views

How can I display products from an external API on my Woocommerce (WordPress plugin) based site?

I have a created a new eCommerce store using WooCommerce WordPress plugin. Now, I want to display products from an external site using their API. I've got access and required authentication to their ...
0
votes
0answers
70 views

Create new product with woocommerce REST API with javascript (clientside)?

Is it possible to create new products in woocommerce using its API with javascript from clientside? I tried this for getting all products: endpoint: ...
0
votes
0answers
26 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
39 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
14 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
39 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
23 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
25 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
16 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
35 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
51 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
63 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
62 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
18 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
22 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
29 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
9 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 ...