An Introduction to Theming WooCommerce for WordPress

http://code.tutsplus.com/articles/an-introduction-to-theming-woocommerce-for-wordpress–wp-31577

Template Structure + overriding templates via a theme

http://docs.woothemes.com/document/template-structure/

 Tab Add in woocomerce

http://docs.woothemes.com/document/editing-product-data-tabs/

http://fivera.net/woocommerce-customization-free-wp-plugins/

WooCommerce customization – How to display Free instead of zero

Add Another Extra price (textbox) in  product page  add in function.php

//OLD Price
add_action(‘woocommerce_product_options_pricing’,’custom_cost_price’);
function custom_cost_price() {
woocommerce_wp_text_input( array( ‘id’ => ‘_cost_price’, ‘class’ => ‘wc_input_price short’, ‘label’ => __( ‘Old (Was) Price’, ‘woocommerce’ ) . ‘ (‘.get_woocommerce_currency_symbol().’)’, ‘type’ => ‘number’, ‘custom_attributes’ => array(
‘step’ => ‘any’,
‘min’ => ‘0’
) ) );
}

add_action(‘woocommerce_process_product_meta_simple’, ‘save_custom_cost_price’);
function save_custom_cost_price($post_id) {
global $wpdb, $woocommerce, $woocommerce_errors;
update_post_meta( $post_id, ‘_cost_price’, stripslashes( $_POST[‘_cost_price’] ) );
}

Get the price in page

Anyway, to me, that kind of code works with any conditional, but, and that is a big but, the Cart does not take the price in the store I´m working with, and shows prices of $0.00 for all products.

Here’s the code I use to display a custom price in the store:

 

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...