Woo commerce fix errors (size, GST, shape) and add options (free delivery after ..)

Hi there i am looking at help with the following issues i’m having after installing woo commerce with x theme including
size GST and shape also have some options i would like to use if you could kindly assist me with that as well that would be great!

Here is what I’m talking about:

I really need help with several concerns i have and i am also looking to add a rule that gives free delivery over $40 how can i achieve this? In addition i have put the rest of my questions in the images below:

Thank you so much for your help in advance! :slight_smile:

On the SHOP page:

Please advise
Much Much Appreciated!!

Thank you

I have to split up my images so here they are one at a time :slight_smile:

On the PRODUCT page:

On the PRODUCT 2 page:

On the CART page:

On the CHECKOUT page:

Here is what’s added into my child theme’s functions.php :slight_smile:

//Remove Price Range
add_filter( ‘woocommerce_variable_sale_price_html’, ‘detect_variation_price_format’, 10, 2 );
add_filter( ‘woocommerce_variable_price_html’, ‘detect_variation_price_format’, 10, 2 );

function detect_variation_price_format( $price, $product ) {

// Main Price
$prices = array( $product->get_variation_price( ‘min’, true ), $product->get_variation_price( ‘max’, true ) );
$price = $prices[0] !== $prices[1] ? sprintf( __( ‘’, ‘woocommerce’ ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );

// Sale Price
$prices = array( $product->get_variation_regular_price( ‘min’, true ), $product->get_variation_regular_price( ‘max’, true ) );

sort( $prices );

$saleprice = $prices[0] !== $prices[1] ? sprintf( __( ‘’, ‘woocommerce’ ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );

if ( $price !== $saleprice ) {
$price = ‘’ . $saleprice . ’ ’ . $price . ‘’;
}

return ;
}

add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs[‘description’] ); // Remove the description tab
unset( $tabs[‘reviews’] ); // Remove the reviews tab
unset( $tabs[‘additional_information’] ); // Remove the additional information tab
return $tabs;
}

// Do Not Remove Woocommerce Plugin Settings
// =============================================================================
function x_woocommerce_donot_remove_plugin_setting(){
if ( ! is_admin() ) {
return;
}
remove_filter( ‘woocommerce_product_settings’, ‘x_woocommerce_remove_plugin_settings’, 10 );
}
function disable_shipping_calc_on_cart( $show_shipping ) {
if( is_cart() ) {
return false;
}
return $show_shipping;
}
add_filter( ‘woocommerce_cart_ready_to_calc_shipping’, ‘disable_shipping_calc_on_cart’, 99 );
}
// removes Order Notes Title - Additional Information
add_filter( ‘woocommerce_enable_order_notes_field’, ‘__return_false’ );

//remove Order Notes Field
add_filter( ‘woocommerce_checkout_fields’ , ‘remove_order_notes’ );
function remove_order_notes( $fields ) {
unset($fields[‘order’][‘order_comments’]);
return $fields;
}

Here are my dependant woo commerce ver. 3.1.0 plugins to shed some light:

Thank you

Hello There,

Thanks for writing in!

You have a quite long request.

1.) You will need to set up free shipping feature. To know more about it, please check out the documentation here: https://docs.woocommerce.com/document/free-shipping/

2.) In your shop page, you opted to display Product categories. You can check this settings in WooCoomerce > Settings > Products > Display : http://prntscr.com/hn9hud

And you have set to display 4 columns in your shop page. If you want to center it, you will need to change the number of columns which you can do it in X > Launch > Options > WooCommerce > Shop > Layout Columns.

3.) To remove the product count in the Shop categories, please check this out:
http://www.remicorson.com/woocommerce-remove-category-products-count/

4.) You picture itself is not center. You will have to edit it in Photoshop or any image ediitor and make sure that the pizza is centered.

5.) To display “Add to Order”, please check this out:

If you want the font size to become smaller, please add the following CSS code in the X > Launch > Theme Options > Global CSS (http://prntscr.com/evui3r)

.woocommerce li.product .entry-header h3 {
  font-size: 18px;
}

feel free to change the font size if needed.

6.) To make the space bigger, please add the following CSS code in the X > Launch > Theme Options > Global CSS (http://prntscr.com/evui3r)

.woocommerce-message.x-alert.x-alert-info.x-alert-block {
    padding-top: 25px;
    padding-bottom: 25px;
}

7.) By default, product attribute such as size, gst and shape will not be displayed. To display it, you will need custom code. Please check out this link:


https://isabelcastillo.com/show-woocommerce-product-attributes-on-cart-page

8.) “Billing & Shipping” will only display if you opted to make the Billing Address be the same as the Shipping Address. You can check this setting in WooCommerce > Settings > Shipping > Shipping Options.

9.) Are you using a plugin for this? Would you mind sharing the plugin name so that we can test it?

Hope this helps.

WoW you guys are amazing!
I will let you know if i have any further questions after reviewing and doing :smirk:
Thanks for such a prompt reply on such a long request :grinning:

Thanks!

I would like for this to auto select to free shipping if possible instead of offering an option? Thank you!

This did not work after inserting into functions.php
is there another way through css?

Insert the following into your functions.php Thumbs Up X!!

<?php add_filter( 'woocommerce_product_add_to_cart_text' , 'custom_woocommerce_product_add_to_cart_text' ); /** * custom_woocommerce_template_loop_add_to_cart */ function custom_woocommerce_product_add_to_cart_text() { global $product; $product_type = $product->product_type; switch ( $product_type ) { case 'external': return __( 'Buy product', 'woocommerce' ); break; case 'grouped': return __( 'View products', 'woocommerce' ); break; case 'simple': return __( 'Add to cart', 'woocommerce' ); break; case 'variable': return __( 'Select options', 'woocommerce' ); break; default: return __( 'Read more', 'woocommerce' ); } }

Thank you haha it keeps wanting to post ten characters dancing so there we are

I cannot locate the global CSS only the content CSS when editing the page in cornerstone
and under X options only has additional CSS not global CSS

Please Advise

Hi,

  1. Drag Free shipping method to top(first) to make it default .

https://www.screencast.com/t/oSLTMr5dj

  1. To remove count, you may add this in Theme Options > CSS
.woocommerce-loop-category__title .count {
     display:none;
}
  1. That is the global css

In the future we kindly request that you open a separate topic for each issue.

Thanks

1 = Thank you this worked perfect!
Definitely will keep that in mind next time appreciate it!

ok i get it additional css is the same as global css thank you!

However it still did not remove the counter…pls help! or reflect the padding code

After further review realized what stumped me was that i don’t have the global CSS working on my child theme
Please have a look at this i will be sending you the login info

The option for resizing the image for the pages is not working under woo comerce display also

Also please have a look at some of my other questions i asked previously when time permits it is utmost appreciated!