New Landing How can we help? Atelier Shop home page setting breaking links in areas of the website

Viewing 15 posts - 31 through 45 (of 51 total)
  • Posted in: Atelier
  • #207375
    Klarity
    Member
    Post count: 183

    I thought it might be useful to post some screen shots of whats wrong with the shop page layout.
    its really unstable and I need a solution asap please.

    Many thanks,

    Pete

    Attachments:
    You must be logged in to view attached files.
    #207652
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Pete,

    Everything is looking correct for me, as specified by your screenshot.

    Did you resolve your issue?

    -David.

    #207707
    Klarity
    Member
    Post count: 183

    Take a look again – The shop base wasn’t sent.

    Its all looks wrong now.

    Please help.

    #207752
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Pete,

    Setting the shop base in WooCommerce will automatically pull in your shop products meaning you cannot use the page builder within the page.

    If you do not set the page as the WC base, you can use the page builder.

    Thanks,
    David.

    #208043
    Klarity
    Member
    Post count: 183

    Hi Dave,

    Sorry – feel a little like i’m going round in circles here.
    If i use the page builder and don’t select the page as the shop base in woocommerce then the links don’t work.

    there are 3/4 links which get broken in your theme.

    1. The home page (show all products)
    2. the Back to shop link on an empty cart (this was actually fixed by a change to the function.php file)
    3. the continue shopping link in the cart when you have a product in it (the link on the banner works but the link below go to checkout does not)

    I have taken the woocommcere base setting page out so you can see the issue. you seem to be able to get this working in the demos so i can’t see why i can’t get it to work on this site?

    Check back through old posts for screen shots and responses.

    Thanks for looking – hopefully we can get to the solution!

    Best,
    Pete

    #208045
    Klarity
    Member
    Post count: 183
    #208278
    mccaul
    Member
    Post count: 28

    So I’m pretty sure this is a bug in your Atelier base code, given that a lot of the pages peter just linked to in your own demos are also broken.

    Luckily I think it’s also a quick fix.

    The reason that the solutions you’ve suggested aren’t working, is because the code in Atelier, ignores the custom redirect that you and the Woocommerce site have suggested, by leaving out a key line of code.

    in woocommere/cart/cart.php, line 155 the continue shopping link is created with the following line:

    href=”<?php echo get_permalink( wc_get_page_id( ‘shop’ ) ); ?>”>

    when I think it should be created with the same code that the base woocommerce plugin uses, which allows for the override:

    href=”<?php echo apply_filters( ‘woocommerce_continue_shopping_redirect’, get_permalink( wc_get_page_id( ‘shop’ ) ) ); ?>”>

    I’m assuming that the same goes wherever else that code is duplicated in the theme.
    Also, as woocommerce recommend a similar solution to the return to shop link for an empty cart, I’d guess that link should be created the same way

    #208292
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks for the heads up – changed for the next update.

    – Ed

    #209066
    Klarity
    Member
    Post count: 183

    Hi Ed,

    Thanks for update – this seemed to have fixed most of the links.
    Though after testing I can see that one of the link areas still does not work correctly.
    (See attached image)

    page ref: http://preview.mccaul.com
    ‘featured products’ module

    Could you take a look at this for me please and advise on the best way to get it working.

    Many thanks,
    Pete

    Attachments:
    You must be logged in to view attached files.
    #209639
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Pete,

    Glad this update resolved your query, thanks for the feedback also.

    I’ll pass this back to Ed for the next update and fix.

    Thanks,
    David.

    #209958
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    That pulls the link for the shop page, set in WooCommerce > Settings > Display – so please set that.

    – Ed

    #210057
    Klarity
    Member
    Post count: 183

    Hi Ed,

    Ive tried this and this is really where the issues first begin on this thread.

    This doesn’t work. Take a look, the page is messed up. (I have left the woocommerce shop home page enabled so you can see. the link in question now works but the page doesn’t.

    http://preview.mccaul.com/our-collection/

    You can see more on this in past comments..

    Any ideas for a work around / Fix?

    Cheers,

    #210137
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hmm that is strange. Nothing wrong with the way the theme is getting the link for that button from what I can see. I can only assume this is some sort of plugin conflict. Can you try disabling all apart from Swift Framework + WooCommerce?

    – Ed

    #210153
    Klarity
    Member
    Post count: 183
    This reply has been marked as private.
    #210204
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Just needed to resave your permalinks, there must have been an issue with them – working now.

    – Ed

Viewing 15 posts - 31 through 45 (of 51 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