Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
9 views

Show prices in WooCommerce on button click [on hold]

I have been searching around a lot for what I am looking to do and decided to post a Question in case someone can help me out. I am looking for way to make an e-shop look like a Catalog BUT I would ...
0
votes
0answers
9 views

Is it possible to override Woocommerce class-wc-widget-products [on hold]

Is it possible to override the woocommerce class-wc-widget-products.php via the theme. I know modifying core files is bad, (for obvious reasons) but is there a way around it on this instance?
0
votes
1answer
19 views

Add javascript to a woocommerce page template

I have the following code in my functions.php add_action( 'wp_enqueue_scripts', 'dc_datepicker_options' ); function dc_datepicker_options() { if ( is_page_template( 'single-product.php' ) ) { ...
-1
votes
1answer
25 views

eCommerce solution doesn't want to display its shortcodes or any content where it's set to [on hold]

I'm running the latest WordPress, WooCommerce; WC claims in its System Status that everything is okay. I tried disabling EVERY other plugin, changing themes, clearing my cache, having the permalink ...
0
votes
0answers
12 views

Add custom price to cart [on hold]

I'm trying to add custom price to the cart instead of the regural one. I created a custom field like that add_action( 'woocommerce_product_options_pricing', 'wc_rrp_product_field' ); function ...
-3
votes
0answers
13 views

Add a Add to Cart Button to Featured Products [on hold]

I need to have a add to cart link on the featured products widget. I am modifing the class WC_Widget_Products which includes the file content-widget-product.php my question is how do i add a add to ...
-2
votes
0answers
19 views

WooCommerce (E)POS integration [on hold]

Our client has a physical retail store and uses a (E)POS system by TripleSoft. They've asked us to build an eCommerce store for which we've decided upon using WooCommerce. They also want an ...
-1
votes
0answers
16 views

Woocommerce minimum order cost [on hold]

So I want to set minimum order cost to 30EUR, and if someone order items in less than 30EUR, he should have "item" "processing costs" or something like that, to 30EUR. Example 1. Item1 30EUR Example ...
0
votes
0answers
21 views

woocommerce.css throws off style.css background urls

In the style.css of my theme root I include a background image, like this: background: url(images/image2.png); All works well, but when I move a copy of the woocommerce.css into myTheme/css the ...
-1
votes
0answers
13 views

How to dynamically change the stock quantity for each item in woocommerce [on hold]

add_action('woocommerce_checkout_process', 'myFunc', 10); function myFunc(){ add_filter( 'woocommerce_stock_amount', 'ChangeStock' ); function ChangeStock(){ global $post; ...
0
votes
0answers
10 views

Breadcrumb issue in custom template [on hold]

I am using plugin called Wp Store Locator and modified it according to my need.I am also using WooCommerce Breadcrumb plugin as well. Both are working perfectly. But issue is that I am redirecting to ...
-1
votes
0answers
7 views

how to produce error when checkout on woocommerce [on hold]

I want to create a woocommerce plugin which provide different quantity of product for different groups. For example, I want to create productA which 10 stock are available for shop_manager and 8 ...
0
votes
0answers
8 views

Display star rating on loop [on hold]

I'm trying to figure out how I can output the star rating that is displayed on the product page into the loop. Here is the code that I have trying to output the star onto the loop <div ...
-1
votes
0answers
8 views

How to hide the price range on a variable product, when a variation is selected by te user [on hold]

When I have a product with variations, the site shows me the price range when I first open the product page. This is ok, the problem however is when I select a variation, it now still shows me the ...
-1
votes
0answers
9 views

replacing the links from woocommerce dummy data [on hold]

I'm trying to follow and replicate the steps from this wordpress and woocommerce lynda.com tutorial so I'm using wordpress v3.5.1 and woocommerce v2.0.3 When I've tried to import the dummy_data.xml it ...
0
votes
0answers
12 views

add custom notification for buddypress related to woocommerce [on hold]

i am new here i am developing a plugin for WordPress and i need some help from you :) i want to add custom notification to Buddypress and this is how it works: when i add a product by woocommerce , a ...
0
votes
0answers
13 views

Woocommerce shipping issue while selling physical and non-physical goods [on hold]

I am building a store that sells both physical and non-physical goods that go through Woocommerce checkout. Non-physical goods have free shipping and the physical goods have a flat rate shipping ...
0
votes
0answers
14 views

Change Wordpress WooCommerce Redirect URL [on hold]

Right now all new registered woocommerce members are redirect to /my-account but I want them to be directed to a custom URL (for exaple I will use /update). I have tried many different codes but cant ...
-4
votes
0answers
13 views

Can I get the checkout form into a template? [closed]

Hi I am using woocomemrce and was wondering would it be possible to get the checkout form and payment stuff onto another page? I want to create a template which will have a single product on and the ...
-2
votes
0answers
11 views

How to allow Shop Managers to add Product Categories to a Menu [closed]

I've looked everywhere, can't find a way to allow Shop Managers to add Product Categories (also Products or Product Tags) to a menu. The default Wordpress content types are available in the menu ...
-1
votes
0answers
9 views

Sidebar not showing on single product page - Woo Commerce [closed]

unlike most people, I want the sidebar to show on my single product page in order to show categories. I can't figure out how to set that up as there seems to be no stock setting. I am using the Avada ...
-1
votes
1answer
14 views

Woocommerce cart/alert messages on none woocmmerce page [closed]

I have a none woocommerce page and am using a loop to get products however when I add a product from that page to cart the cart/alert messages wont appear but if after adding the product to cart the ...
-2
votes
0answers
13 views

Woocommerce order status based dashboard [closed]

I created several user roles based from the shop_manager. How do you make it that each type of shop_manager is able to see orders with a particular status from the orders dashboard? Example: ...
-3
votes
0answers
13 views

Woocommerce specify product [closed]

i've got a question: Does somebody of you know if there is a plugin in or a workaround for woocommerce to have the option if you select a product to specify it. For example: You choose an car battery ...
-3
votes
0answers
9 views

How can I Stop woocommerce messages appearing on archive? [closed]

I have created a custom template which pull in product from two specified categories however when I add one of the products to cart no message will appear at the top of the page however if i go to an ...
0
votes
0answers
12 views

I need to change this code to show subcategory name only under the product

<?php if ( (!$theretailer_theme_options['category_listing']) || ($theretailer_theme_options['category_listing'] == 0) ) { ?> <!-- Show only the first category--> <?php ...
0
votes
0answers
17 views

WooCommerce Product addon - show add-on price? [closed]

I'm using the plugin product add-on more as a variable, because I like the checkboxes better. I've set the regular price to 0 and added filter in functions.php to remove the "Free" price tag ...
0
votes
1answer
47 views

How to override woocommerce.css?

I would like to override woocommerce.css in my child theme. This is what I tried in my child theme's functions.php but it does not seem to work: add_filter( 'woocommerce_enqueue_styles', ...
-2
votes
0answers
19 views

Custom loop for getting products flagged as new

I was looking for a way to build a custom loop to get the products flagged with the "new" label. This label is actually a property given by WooCommerce to new products, as long as they were created in ...
0
votes
0answers
22 views

Is removing orphaned wp_postmeta records safe?

I am using woocommerce as a shopping cart on a wordpress site. Products and Product Variations are each stored as records in the wp_posts table. Each of these Variations have aprox. 15-20 associated ...
0
votes
0answers
19 views

Woocommerce Product Thumbnail sizing

I am trying to get all small medium large and full thumbnail sizes in the SHOP page of woocommerce. I am using the following code in woocommerce.php (duplicate of page.php) to display all products ...
-1
votes
1answer
37 views

How to add metabox ONLY to specific WooCommerce product type [closed]

A little extra info: I have created a custom product type within WooCommerce. The add_meta_box function only accepts a 'post_type' argument. This means that I can get it on all products no problem, ...
0
votes
1answer
32 views

Product Images Low Quality After Updating From WP 3.5 to 4 [closed]

I recently updated my WP website from WP 3.5 to recent version 4 and now I am getting a lower quality of all product feature images. I am using woocommercee to generate an online shop and it was ...
0
votes
1answer
116 views

How to get WooCommerce Product Category Link by ID?

WooCommerce's product categories are a custom taxonomy called "product_cat". In a function I'm writing, I'm using get_categories with the "taxonomy" parameter set to product_cat. Everything works fine ...
1
vote
0answers
100 views

Woocommerce displaying product categories and products on custom theme

Am trying to create custom Woocommerce supporting theme in Wordpress. What am facing is regarding the displaying of Product Categories when accessing the main category and 1st level of categories. ...
-1
votes
1answer
32 views

Issue On Listing Woocommerce Parent Tag List

I am having some issue on getting top level terms of product_cat Taxonomy of WooCommerce First of all I have a code which list all Terms in product_cat as: $terms = get_terms("product_cat"); if ( ...
0
votes
0answers
22 views

How to get php variables into JS script tag correctly?

I am using WooCommerce theme for a store and am unable to correctly get the Order Id and Price of an order and put it into a script tag for tracking orders using EchoVantage. I wrote an if statement ...
0
votes
1answer
34 views

Custom Search Template for Custom Post Types

I know this is asked a million times, and I've found the solution. It seems fairly straight forward but it's not working for some reason. I wonder if it has something to do with the fact that I'm ...
0
votes
2answers
52 views

Hide a Menu Item on Login

I am using the following code to hide a menu item when a customer is not logged and show it when a customer is logged in. .hide-item-not-login{ display: none !important; } .logged-in ...
0
votes
0answers
40 views

Auto adding product meta on publish

I currently have this function: add_action('transition_post_status', 'wpse_110037_new_posts', 10, 3); function wpse_110037_new_posts($new_status, $old_status, $post) { if( $old_status != ...
0
votes
2answers
50 views

Serializing User Role for update_user_meta

I've created a custom user role and am attempting to change the users role from CUSTOMER to ADVOCATE on purchase of a particular product (using WooCommerce). I'm really close but struggling to get the ...
0
votes
1answer
29 views

Add a field to the taxonomy editor?

I would like to add an additional image field to WooCommerce Product Taxonomy Admin page as part of my theme. It works fine by modifying the existing class within the plugin, but it will be replaced ...
0
votes
1answer
37 views

Hide cart when empty [closed]

Could someone help me with this syntax: At the moment I have a simple link to my shopping cart like this: <?php if ( is_woocommerce_activated() && isset( ...
0
votes
0answers
35 views

Wordpress - cant login on login page

I have wordpress and woocommerce on this website: http://goo.gl/PHIWIo I did this template, but the my-account page, can not login. If you try: Login: teste Password: teste123 He says "You are logged ...
-1
votes
1answer
23 views

woocommerce-how can i get all products by their groups! [closed]

i have a wordpress site that uses woocommerce as an online shop plugin. what is want is listing all products in my woocommerce site grouped by their categories, how can i do this? i want the list ...
0
votes
1answer
118 views

How to check if woocommerce is activated in theme

I'm creating a theme with woocommerce which has the following: <ul> <li> <?php if ( is_user_logged_in() ) { ?> <a href="<?php echo ...
-1
votes
2answers
57 views

Woocommerce product image [closed]

when I upload in woocommerce image it uploads different sizes: For category Single Thumb and keeps original file which is big... how can I auto delete this original file ?
5
votes
1answer
42 views

Wordpress Multisite: Adding actions to only one site

I have Wordpress Multisite installed with WooCommerce network activated. I want to add an action to a hook in ONE of the sites that has WooCommerce installed, instead of all of them. For example, I ...
1
vote
0answers
58 views

SSL Certificate and Dedicated IP address with Woocommerce WordPress site [closed]

I have wooCommerce WordPress site (in develop phase), when i searched to have a good hosting company they advice me to go with VPS solution not shard solution because in VPS i can have multiple ( SSL ...
-2
votes
1answer
128 views

woocommerce display product category on checkout page [closed]

I am trying to get product category on check out page for showing a special message for shipping for specific category. For this I have created action filter on woocommerce_available_shipping_methods ...