Forum Replies Created

Viewing 15 posts - 16 through 30 (of 69 total)
  • Posted in:
  • in reply to: Product category exclusion #153413
    MarcusF
    Member
    Post count: 75

    Hi Mohammad

    It didn’t seem to work out. They referred me to the support of my specific theme 😀

    I followed this guide: http://www.engagewp.com/remove-categories-woocommerce-product-category-widget/

    And yeah, it’s several product categories in the Widget Menu that I want to remove, because they pretty much only serve as a landingpage for organic users and not really customer friendly for people browsing our site.

    in reply to: Product category exclusion #144322
    MarcusF
    Member
    Post count: 75

    Thanks for the effort !

    I will try that, and post the answer here if i get one 🙂

    Best regards,
    Kristoffer

    in reply to: Product category exclusion #144307
    MarcusF
    Member
    Post count: 75
    This reply has been marked as private.
    in reply to: Product category exclusion #144293
    MarcusF
    Member
    Post count: 75
    This reply has been marked as private.
    in reply to: Product category exclusion #144169
    MarcusF
    Member
    Post count: 75

    hey,

    Thanks, but it dosen’t work :/

    /Kristoffer

    in reply to: Shop action " Read More" #141283
    MarcusF
    Member
    Post count: 75

    Hey Laranz.

    Thanks for the code 🙂
    I have deleted all the other code and only used your code, and it works :D!

    Is the other code important ?

    Best regards,
    Kristoffer

    in reply to: Shop action " Read More" #140588
    MarcusF
    Member
    Post count: 75

    Hey.

    Now the text work fine on single products, but the button still adds product to the cart.

    And is it possible to make the solution in the child folder ?

    Best regards,
    Kristoffer

    in reply to: Shop action " Read More" #139490
    MarcusF
    Member
    Post count: 75

    hey 🙂
    sorry for the late replay..

    I need “read more” on all products 🙂 not only on the single products but also on variable products.

    The code you gave me changes the text on the single products but it doesn’t create the link to the product. it still adds the product to the cart.

    Best regards,
    Kristoffer

    in reply to: Shop action " Read More" #136975
    MarcusF
    Member
    Post count: 75
    This reply has been marked as private.
    in reply to: Shop action " Read More" #136888
    MarcusF
    Member
    Post count: 75

    I’m really sorry to says this, but it dosen’t work…

    here is a link for the site..

    http://www.rejsegear.dk

    /Kristoffer

    in reply to: Shop action " Read More" #136812
    MarcusF
    Member
    Post count: 75

    hey guys 🙂

    I have applied the codes and it still dosen’t work :/

    add_filter( ‘add_to_cart_url’, ‘woo_more_info_link’ );
    function woo_more_info_link( $link ) {
    global $product; // switches link in all cases, i.e. in plugins
    $link = get_permalink( $product->id );
    return $link;
    }

    /* replace add to cart text on button */
    add_filter(‘add_to_cart_text’, ‘woo_custom_cart_button_text’);
    function woo_custom_cart_button_text() {
    return __(‘Read more’, ‘woocommerce’);
    }

    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 ‘variable’:
    return __( ‘Select options’, ‘woocommerce’ );
    break;
    default:
    return __( ‘Read more’, ‘woocommerce’ );
    }
    }

    The single product text is chanced √
    The rest ain’t working…

    best regards,
    Kristoffer

    in reply to: Shop action " Read More" #136632
    MarcusF
    Member
    Post count: 75

    I know it’s much to ask, but can you make one that does the same to the “Choose variation” ?

    Best regards,
    Kristoffer

    in reply to: Shop action " Read More" #136617
    MarcusF
    Member
    Post count: 75

    Hey 🙂

    You sir, are amazing!
    Thanks!

    There is just one problem, the text is changed but it still adds products to the cart, instead of going to the single product page..

    /Kristoffer

    in reply to: Shop action " Read More" #136389
    MarcusF
    Member
    Post count: 75

    exactly 😀 !

    /Kristoffer

    in reply to: Remove Prettyphoto #136060
    MarcusF
    Member
    Post count: 75

    Or i didn’t get it solved, i just make a workaround 🙂 🙂

Viewing 15 posts - 16 through 30 (of 69 total)