Author: seempl

Protected: Free Woocommerce Plugins that helps you to to build your own e-commerce site.

They said building an eCommerce website is difficult and would cost you tons of money before you can have a full pledge running Online Shop. Well, the answer is YES and NO, depending on what path you want to achived. But If you just want to have your own online shopping website without putting all your money on your website built. You have to find out the other options to save more money and energy on building your own shopping cart. Today am sharing you  some of the Plugins I used for most of my E-commerce Sites that I built.   1. Admin Columns Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface. 2.  Advanced Order Export For WooCommerce Export orders from WooCommerce with ease (Excel/CSV/XML/JSON supported) 3.  Column Shortcodes Adds shortcodes to easily create columns in your posts or pages 4.  Custom Order Status for WooCommerce Add custom order statuses to WooCommerce. 5.  Flamingo A trustworthy message storage plugin for Contact Form 7. 6.  Insert Pages Insert Pages lets you embed any WordPress content (e.g., pages, posts, custom post types) into other WordPress content using the Shortcode API. 7. Last Modified Timestamp This plugin adds information to the admin interface about when each post/page was last modified (including custom post types!). Use the [last-modified] shortcode in...

Read More

Add SKU in cart page detail – WooCommerce 

add_filter( ‘woocommerce_cart_item_name’, ‘add_sku_in_cart’, 20, 3); function add_sku_in_cart( $title, $values, $cart_item_key ) { $sku = $values[‘data’]->get_sku(); return $sku ? $title . sprintf(” (SKU: %s)”, $sku) : $title; } Credit to : Source: Add SKU in cart page detail – WooCommerce – Sarathlal...

Read More

Adding SKU on Cart

add_filter( 'woocommerce_cart_item_name', 'showing_sku_in_cart_items', 99, 3 ); function showing_sku_in_cart_items( $item_name, $cart_item, $cart_item_key ) { // The WC_Product object $product = $cart_item['data']; // Get the SKU $sku = $product->get_sku(); // When sku doesn't exist if(empty($sku)) return $item_name; // Add the sku $item_name .= '' . __( "SKU: ", "woocommerce") . $sku . ''; return $item_name;...

Read More

Adding strike through on product subtotal after coupon code

Here is the short custom function if you want to add a strike though on prices after coupon code. function jp_discount( $price, $type, $amount ){ switch( $type ){ case 'percent_product': $newprice = $price * ( 1 - $amount/100 ); break; case 'fixed_product': $newprice = round($price - $amount,2); break; case 'percent_cart': $newprice = $price * ( 1 - $amount/100 ); break; case 'fixed_cart': $newprice = $price - $amount; break; default: $newprice = $price; } return round($newprice,2); } function jp_woocommerce_cart_item_subtotal( $subtotal, $cart_item, $cart_item_key ){ $coupons = WC()->cart->get_coupons(); foreach ( $coupons as $code => $coupon ) : $newsubtotal = wc_price( jp_discount( $cart_item['line_total'], $coupon->discount_type, $coupon->amount ) ); $categories = array(35); if( has_term( $categories, 'product_cat', $cart_item['product_id'] ) ) : $nsubtotal = sprintf( '%s %s', $subtotal, $newsubtotal ); else: $newsubtotal = wc_price($cart_item['line_total']); $nsubtotal = sprintf( ' %s', $subtotal, $newsubtotal ); endif; return $nsubtotal; endforeach; return $subtotal; } add_filter( 'woocommerce_cart_item_subtotal', 'jp_woocommerce_cart_item_subtotal', 99, 3...

Read More