Quantcast
Channel: Clan VPS Host » woocommerce
Browsing all 195 articles
Browse latest View live

Woocommerce allowing html syntax in category description field

I'm using a themeforest theme for my new woocommerce store. While I go to edit category there's a description field which doesn't allow html tags. My question: How can i make this field accepting html...

View Article


How to hide page title from WooCommerce Storefront theme homepage?

I am trying to hide the Storefront page title on my homepage. This code hides it from all the side: function sf_change_homepage_title( $args ) { remove_action( 'storefront_page',...

View Article


How do I get my sidebar to float to the right?

In WordPress I've got a sidebar that has a Woocommerce widget within it. I'm trying to get it to float to the right which works fine with the "float: right" statement but because I want the sidebar to...

View Article

WooCommerce Composite Products Variable Product Dropdown Not Displaying Options

WordPress 4.5WooCommerce Version: 2.5.5WooCommerce Composite Products Version: 3.6.3 Edit Product page in admin dashboard WooCommerce Composite Products I'm making a "variable" product. I expect that...

View Article

how to disabling shop cart in woocommerce?

I need a free system witch can handle my product catalog without sopping cart. i try to use ( wordpress + woocommerce ) but there is no options in woocomerce to disable shopping cart. if it is...

View Article


Woocommerce, how to edit the billing fields

Where is the .php file located to edit the billing fields? I want to change the text for each heading; for example "Last Name" to "Family Name" This is using Woocommerce in the Avada theme. Solution:...

View Article

remove_action not working for functions within a plugin

I'm trying to use remove_action to prevent a part of a plugin from running – don't ask me why :-). The function within the plugin is: add_action( 'woocommerce_before_single_product_summary', array(...

View Article

if title contains string 'aaa','bbb' or ,'ccc' replace field {category[1}

Hello gods of Stackoverflow, Now i hate to be "that guy" who didnt search properly but i am running into a problem that i need a fix for and can't find a solution i can work with because of my lack in...

View Article


How to get current variation data inside raw_woocommerce_price hook?

I'd like to get current variation data inside the raw_woocommerce_price hook. function filter_raw_woocommerce_price( $price_1 ) { global $product; // Some custom code to change price by variation...

View Article


Woocommerce – Automatic restock a product

I'm using wordpress and woocommerce for my shop. I need to restock a product every night. Ex. I have a product where the stock amount is 30.Then if someone buys the product the amount is 29 – of...

View Article

Product Images too big

I was trying to finish my website, but at the end I saw that my single product images are way too big. My settings were set to 600 px x 450pxBut when I visit the a product page, they're set to 1100 x...

View Article

Conditionally unset checkout field in woocommerce

How can I conditionally unset the other two fields from server side and remove the required validation from it? Here is how the form looks like: Here is the code: function...

View Article

WooCommerce: products-of-category loop bizarre problems

I have a php/wp script written which in theory should print a div with a category name, description, and all of its products inside.The code looks like this: <?php $args2 = array( 'taxonomy' =>...

View Article


Add link after woocommerce product price

I need to add some text after the price on the woocommerce single product pages. I know how to do this with this code add_filter( 'woocommerce_get_price_html', 'custom_price_message' ); function...

View Article

Show woocommerce Shoping Cart in a specific page?

My woocomerce shopping cart shows only in product pages, but I want it to show in some specific static pages I create. How can I achieve this? Solution: Would you like to display a link to the cart...

View Article


WooCommerce – Automatically add bonus product [IMPROVED]

I would like to make an improved script for automatic adding a bonus product to WooCommerce cart. The bonus product would be added into the cart on adding a specific product(s). But I've never seen any...

View Article

Woocommerce: Add Cart in Single Product page does not working

I am new to WooCommerce. Interestingly, Add Cart in single product page does not working (No response at all). However, when I am in Shop page (shows multiple products), that "add to Cart" button...

View Article


WooCommerce – Display Price included Tax on Product Page

I am using WooCommerce for WordPress. I'm listing items excluding VAT on Woocommerce. I need to show Price, VAT and PRICE+VAT spearealty on product page (like checkout page). I coudn't find any plugin...

View Article

Add a body class related to the product category in WooCommerce

How can I add a body class related to the product category slug? Thank you! Solution: Add this to your functions.php add_filter( 'body_class', 'wc_cat_names' );function wc_cat_names( $classes ) {...

View Article

How do I remove the hyperlink from the products thumbnail in Woocommerce?

I have the top 4 best selling products within a div on the home page of my wordpress site. I don't want them the be clickable, I just want them to be displayed. I've managed to remove the 'Add to Cart'...

View Article
Browsing all 195 articles
Browse latest View live