Products in shop are now only showing x1 instead of the supposed x4 grid layout – any reason?

This topic has 11 replies, 2 voices, and was last updated 3 weeks, 1 days ago ago by Luca Rossi

  • Avatar: Niddy
    Niddy
    Participant
    March 29, 2024 at 15:12

    Hi

    Please see private as it shows my site settings / domain etc. Please keep replies private so my site stays secret.

    Thanks for any help…

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Niddy
    Niddy
    Participant
    March 29, 2024 at 16:46

    See FTP in private.

    Thanks

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 30, 2024 at 09:44

    Dear @Niddy,

    Greetings.

    1. We are pleased to inform you that the issue you were experiencing has been successfully resolved. It appears that there was a caching problem preventing the product column settings from being saved correctly. We have rectified this, and you should now be able to view the products in 4 columns as intended. Please verify the changes at your convenience: https://prnt.sc/JQGzVV7Sf2Bf

    2. At present, there are no settings available to modify those labels directly. However, we have implemented a code snippet to assist you in changing the tab labels. This code has been added to the functions.php file within your child theme:

    
    function n2t_text_strings( $translated_text, $text, $domain ) {
        switch ( $translated_text ) {
            case 'Menu' :
                $translated_text = 'Custom 1';
                break;
            case 'Menu 2' :
                $translated_text = 'Custom 2';
                break;
        }
        return $translated_text;
    }
    add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
    

    For your reference, here is a screenshot of the updated labels: https://prnt.sc/q0kILAofVv2E

    3. To display your static block, please utilize the following hook:

    
    add_action('woocommerce_after_mini_cart', 'n2t_woocommerce_after_mini_cart', 100);
    function n2t_woocommerce_after_mini_cart(){
         echo do_shortcode('[your-static-block-shortcode]');
    }
    

    We trust this will serve the intended purpose.

    Should you require any further assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Niddy
    Niddy
    Participant
    March 30, 2024 at 11:03

    Hi

    Thanks for your help – this will make life easier. However I do need to turn cache back on and it works fine on my other install so we shall see how that works…

    Regards the missing delivery block on mini cart popup – it doesn’t do as we need.

    Here is how it should look – notice at the bottom of the block there’s a small grey box with shipping message -> https://i.imgur.com/VLgiphp.png

    The code you provided only shows it here which is no good -> https://i.imgur.com/7VPu7Re.png

    The working version appears when you add something to cart on this theme (which we are using) -> https://xstore.8theme.com/elementor/demos/animals01/

    Can you please advise how we replicate the demo store shipping message please – thanks for any help.

    Comments regards this header discontinuation:
    The thing is, it’s all very well discontinuing the custom builders for the header element but at least make the new elementor ones match – otherwise we will lose a lot of functionality that we have taken for granted. Seriously, is there a way to have a poll and let us (the actual customers) vote on whether it should be discontinued? Seems very drastic and after spending hours learning how to use the custom builder, it’s a bit arsh to have to re-do all our menus!

    Avatar: Justin
    Luca Rossi
    Support staff
    March 30, 2024 at 15:58

    Hi @Niddy,

    Comments regards this header discontinuation:
    The thing is, it’s all very well discontinuing the custom builders for the header element but at least make the new elementor ones match – otherwise we will lose a lot of functionality that we have taken for granted. Seriously, is there a way to have a poll and let us (the actual customers) vote on whether it should be discontinued? Seems very drastic and after spending hours learning how to use the custom builder, it’s a bit arsh to have to re-do all our menus!

    Our development team are working hard to improve all missing features or errors. So please stay tuned in upcoming updates.

    Can you please advise how we replicate the demo store shipping message please – thanks for any help.

    Please update the previous code to this:

    
    add_action('etheme_after_mini_cart_footer', 'n2t_woocommerce_after_mini_cart', 100);
    function n2t_woocommerce_after_mini_cart(){
    	echo do_shortcode('[your-static-block-shortcode]');
    }
    

    Hope it helps!

    Avatar: Niddy
    Niddy
    Participant
    April 4, 2024 at 10:15

    Hi

    Thanks for this however it does not work – never mind, it’s not important however it needs to be added for future if we are moving designs from your builder to elementor so maybe an option in admin to add it needs looking at.

    Additionally, there is only one product showing on each line on the main shop page again. You disabled most my plugins and you cannot do this as they play no part in the issue – how do I know? Because I have 5 licences and the same plugins work fine on all of them so it is 100% not a plugin related issue.

    There is no option in admin anywhere to simply set the store layout – as in products per row on storefront. Why? You have it for categories etc but not the shop – can this option be added and in the meantime can you please send a fix for me to sort the shop layout?

    Even looping the hook doesn’t work –

    add_filter( 'loop_shop_columns', 'loop_columns', 999 );
     
    function loop_columns() {
       return 4; 
    }

    See private…

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 4, 2024 at 10:46

    Hi @Niddy,

    Could you please resend us the FTP account?

    The old one didn’t work anymore.

    Thank you!

    Please contact administrator
    for this information.
    Avatar: Niddy
    Niddy
    Participant
    April 4, 2024 at 10:57

    Hiya

    Sorry, have re-activated it now via hosting. Details work – just needed to turn on FTP.

    Thank you kindly…

    Avatar: Justin
    Luca Rossi
    Support staff
    April 4, 2024 at 11:07

    Hi @Niddy,

    The fixes were applied to your child theme already so it won’t be lost in upcoming updates.

    Can you please check the shop page again?

    Thank you!

    Please contact administrator
    for this information.
    Avatar: Niddy
    Niddy
    Participant
    April 4, 2024 at 11:09

    awesome – thank you very much for sorting this. Weird that the old fix disappeared – I didn’t do a restore or anything….

    However it all works great again, thank you very much 🙂

    I’ll leave this open for a few days to see if it stays this time. 🙂

    Avatar: Justin
    Luca Rossi
    Support staff
    April 4, 2024 at 11:15

    Sure, let us know how it goes!

  • Viewing 11 results - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.