• Resolved marty922

    (@marty922)


    Hi,

    I have my shop set to display categories only.

    When I add text in the shop page on the backend it is displayed above the category Icons in the browser, this is normal behaviour apparently, an intro if you like.

    How do I reverse it, ie no text above categories, everything below?

    Note, I am not talking about individual category pages but the main shop page.

    Thanks

    Martyn

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there 👋

    At the moment, there’s no default option for that in WooCommerce and setting that as the default would require quite a bit of additional coding. Please kindly note that this requires some custom coding – which goes beyond the scope of support we are able to provide in this forum.

    If you do require more help with the actual coding, we’d recommend you hire a developer who can take a look at this, quote you for their services and help you add this feature to your site. We’d recommend getting in touch with a web developer or one of the customisation experts listed at https://woocommerce.com/customizations/.

    Cheers

    Thread Starter marty922

    (@marty922)

    Well I managed it!

    After 15million edits I worked out I needed to rearange the php in archive-product.php in my themes Woocommerce folder.

    Below was the controling element of the file,

    /**
    * Hook: woocommerce_archive_description.
    *
    * @hooked woocommerce_taxonomy_archive_description - 10
    * @hooked woocommerce_product_archive_description - 10
    */
    do_action( 'woocommerce_archive_description' );
    						?>

    Moved it to after:

    do_action( 'woocommerce_after_main_content' );

    • This reply was modified 5 years, 3 months ago by marty922.
    • This reply was modified 5 years, 3 months ago by marty922.
    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    There is indeed no default setting – but you found a way to do it in the code.

    Note that the next time you update the WooCommerce plugin, this file will be overwritten. You’ll want to look into template overrides to make sure that the file stays intact:
    https://docs.woocommerce.com/document/template-structure/

    I hope that helps you in the right direction!

    Thread Starter marty922

    (@marty922)

    Thanks Hannah,

    I didn’t edit the actual WooCommerce plugin version but the verson in my theme…

    I originally looked at the core file but then realised changes there were being ignored.

    Maybe it ought to be in the child theme though!

    Thanks

    Martyn

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Good point – the concept is the same idea for themes. I’d recommend using a child theme, otherwise your changes will be wiped out when you update the theme.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Reverse Shop page layout’ is closed to new replies.