Viewing 11 posts - 16 through 26 (of 26 total)
  • #226885
    fixers
    Member
    Post count: 253

    H Guys

    Ok I have added that and the page is now loading as http://fixers.travel/home?

    I just want it to load as https://fixers.travel?

    Any advice?

    Many thanks

    #226887
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Don’t think that is due to the code I provided. If you remove it does the page return to normal?

    – Ed

    #227998
    fixers
    Member
    Post count: 253

    Hi Ed

    It was forwarding to the page set in woo commerce settings – Ive now removed that from the settings.

    Now when the cart button ‘go to the shop’ is pressed it just refreshes the page the user is on?

    Any ideas where I’m going wrong?

    Thanks

    #228051
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    If you remove that setting then there won’t be a shop page to link to, hence the refreshing. Not sure what that had to do with my previous question?

    – Ed

    #228158
    fixers
    Member
    Post count: 253

    Sorry I’m confused now?

    I don’t want a shop page – I want the button in the cart to take a user to https://fixers.travel

    Apologies if Im misunderstanding..

    #228399
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    On line 75 of Ed’s code change this:

    $shop_page_url = get_permalink( woocommerce_get_page_id( 'shop' ) );

    To this:

    $shop_page_url = "https://fixers.travel";

    Only do this on line 75, this is returned when the cart contents and 0.

    Thanks,
    David.

    #228407
    fixers
    Member
    Post count: 253

    Hi Guys

    Ive done that, still no change?

    #229025
    fixers
    Member
    Post count: 253

    Hi Guys?

    Any idea’s?

    #229030
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @fixers

    Did you make that change in both places where we provided the code? In Mohammad’s code it was line 85. You may need to add/remove an item from the cart after to get it to update.

    – Ed

    #229204
    fixers
    Member
    Post count: 253
    This reply has been marked as private.
    #229225
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome.
    Thanks
    Mohammad

Viewing 11 posts - 16 through 26 (of 26 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register