Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #661880

    It’s me again :-)
    Is there a possibility to place the “Zusätzliche Informationen, Bewertungen etc..” container under the product pictures to the left of the single product page?
    That would be great and results in a more compressed design without so much scrolling :-)

    Thanks !!
    Jan

    #662044

    Hey Jan,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Vinay

    #662077

    Hey Vinay,

    thanks for your reply!
    Here is the link:
    http://joleo.de/produkt/stoff/
    Login below…

    Best regards,
    Jan

    #663177

    Hi,

    Thank you for the info. Please add this in the functions.php file:

    remove_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
    add_action( 'woocommerce_before_single_product_summary',  'woocommerce_output_product_data_tabs', 20);
    

    Best regards,
    Ismael

    #664428

    Hi Ismael,

    that work out, but is it normal, that the remove_action does not remove it from the site?
    With a display: none; I can do it…
    Additionally I want to put it under the two containers (picture+text) on 100% page size.

    Last but not least :-)
    Can I place the additional product picture left to the main picture in one column? (Better in another thread?)

    Thanks
    Jan

    #665564

    Hi,

    that work out, but is it normal, that the remove_action does not remove it from the site?

    I’m sorry but what do you mean by that? The code should remove the tabs in the original position then put it below the featured image.

    Can I place the additional product picture left to the main picture in one column? (Better in another thread?)

    Yes, please create a new thread with a screenshot of the layout that you’re after.

    Best regards,
    Ismael

    #665690

    Hi Ismael,

    sorry, that I was so unclear….
    To make it simple: The remove_action does not remove anything.

    Best regards.
    Jan

    #666485

    Hi,

    I tested the code again but it’s not working. I’m not sure why. Please try this instead:

    // custom script
    add_action('wp_footer', 'add_custom_script');
    function add_custom_script(){
    ?>
    <script>
    (function($){
    	// woo tabs
    	function i() {
    		$('#top .product .woocommerce-tabs').insertAfter('#top .template-shop .product .single-product-summary');
    	}
    
    	i();
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Best regards,
    Ismael

    #666495

    HA! Perfect!
    Now the last to this thread:
    These tabs (the content) should cover the full width of the page, not only in the column of the pictures …

    Thanks for your support Ismael!

    #667120

    Hey!

    We modified the code a bit. Please try it again.

    Cheers!
    Ismael

    #667484

    Hi Ismael!

    Perfect! I made some CSS adjustments and now I am very happy :-)

    Thanks a lot!
    Jan

    #668407

    Hi Jan,

    Great, glad we could help :-)

    Please open a new thread if you should have any further questions or problems.

    Regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Shop Single Product – Additional Information to the left under pictures’ is closed to new replies.