Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Avatar: Spoton marketing
    Spoton marketing
    Participant

    what will i cost to make this customiaztion?

    Avatar: Spoton marketing
    Spoton marketing
    Participant

    fond the answer my self 🙂

    add to function.php

    // Add save percent next to sale item prices.
    add_filter( ‘woocommerce_sale_price_html’, ‘woocommerce_custom_sales_price’, 10, 2 );
    function woocommerce_custom_sales_price( $price, $product ) {
    $percentage = round( ( ( $product->regular_price – $product->sale_price ) / $product->regular_price ) * 100 );
    return $price . sprintf( __(‘ Save %s’, ‘woocommerce’ ), $percentage . ‘%’ );
    }

    Avatar: Spoton marketing
    Spoton marketing
    Participant

    hmmm i tried changing them

    Please, contact administrator
    for this information.
    Avatar: Spoton marketing
    Spoton marketing
    Participant

    sorry i switched username and password

    Please, contact administrator
    for this information.
    Avatar: Spoton marketing
    Spoton marketing
    Participant

    but the tanslation i made in your file doens’t work… the things i translatet in woocommerce
    works fine..

    look at product code..

    Avatar: Spoton marketing
    Spoton marketing
    Participant

    There is a lot of things not translated.. forexampel the checkout, products and cart.

    Som of the theme part that are translated are translated in the template files.

    Please, contact administrator
    for this information.
Viewing 6 posts - 1 through 6 (of 6 total)