WordPress.org

Ready to get started?Download WordPress

Forums

Asteria Lite
[resolved] [closed] woocommerce issue: the right sidebar disappear (33 posts)

  1. stenalines
    Member
    Posted 7 months ago #

    Hey just bumped into the next issue

    when i click on the shop link the right sidebar dissapeares.
    it is working for the other pages but not for the shop page

    working:
    http://test.rastark.se/wordpress/?page_id=58
    not working:
    http://test.rastark.se/wordpress/?post_type=product

  2. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    the right sidebar on woocommerce is removed automatically as it doesnt function well with the theme.

    You can get the sidebar back on by removing this line from functions.php:

    remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);

  3. stenalines
    Member
    Posted 7 months ago #

    thx man. awsume theme i really do like it :)

  4. stenalines
    Member
    Posted 7 months ago #

    now i tried it and as you said it it is not function well. would be great if you could fix that. The theme travelify supports it just in case u wanna look at it

  5. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    Can you activate the sidebar and let me know? I will see how it looks.

  6. stenalines
    Member
    Posted 7 months ago #

    sure, it is active now.

    butik means shop

    there u can even see how it shows catogories i was talking about in this thread:

    http://wordpress.org/support/topic/woocommerce-catogorys-on-the-shope-base-page-not-working?replies=5#post-5134004

  7. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    I see you changed the theme. can you change back to asteria lite and let me know?

  8. stenalines
    Member
    Posted 7 months ago #

    now i changed to asteria again and i activated the sitebar by
    deleting the code in function.php

  9. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    the sidebar looks ok. its displaying the same result as the other theme..
    how did you want it?

  10. stenalines
    Member
    Posted 7 months ago #

    let me make some screenshots.

  11. stenalines
    Member
    Posted 7 months ago #

    This is how it looks with travelify and how i want it. next to the products:
    http://i39.tinypic.com/6hi1k9.png
    this is how it looks like when i use asteria:

    http://i40.tinypic.com/2wc4jcw.png

    in asteria the sidebar appears under the shop items not next to them
    i am using Chrome Version 32.0.1700.76 m

  12. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    hmm.. I did not see the product list page, I just checked the single product page. can you switch back to asteria and let me know?

  13. stenalines
    Member
    Posted 7 months ago #

    hey asteria is installed

  14. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    add this to your stylesheet:

    .wooinner{width: 96%;float: left;background: #fff;padding: 2%;}
    .woowrap{width: 80%;margin: 0 auto;}
    .post-type-archive-product #container{width: 68%;float: left;background: #fff;}
    .post-type-archive-product #container .fixed_site{width:100%;}

    then add this to your footer.php:

    <script type="text/javascript">
     jQuery(window).ready(function() {
    jQuery('.post-type-archive-product #container, .post-type-archive-product #sidebar').wrapAll('<div class="woowrap"><div class="wooinner"></div></div>');
    });
    </script>

    just before

    <?php wp_footer(); ?>

  15. stenalines
    Member
    Posted 7 months ago #

    now it is working for the product list page ;:) yeaaaaah :) nice work around. But still not working on the single product page. :( having headaches yet?

  16. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    replace the css code with this:

    .wooinner{width: 96%;float: left;background: #fff;padding: 2%;}
    .woowrap{width: 80%;margin: 0 auto;}
    .post-type-archive-product #container, .single-product #container{width: 68%;float: left;background: #fff;}
    .post-type-archive-product #container .fixed_site, .single-product #container .fixed_site{width:100%;}

    and the footer code with:

    <script type="text/javascript">
     jQuery(window).ready(function() {
    jQuery('.single-product #container, .single-product #sidebar, .post-type-archive-product #container, .post-type-archive-product #sidebar').wrapAll('<div class="woowrap"><div class="wooinner"></div></div>');
    });
    </script>
  17. stenalines
    Member
    Posted 7 months ago #

    now it is working :) would be great if this would be fixed in a further version to avoid the re-sizing of the divs.
    but for now i am happy and will probably buy the asteria upgrade :)

    thx man

  18. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    you can add this to your stylesheet to stop resizing the products.

    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product{min-width: 156px;}

  19. stenalines
    Member
    Posted 7 months ago #

    thx again :)

  20. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    if you like the theme and the support, It would help a lot if you could rate it. :)

  21. stenalines
    Member
    Posted 7 months ago #

    of course i will do that!!! i even liked your homepage on facebook :)

  22. litz
    Member
    Posted 7 months ago #

    ok sidebar in the product detail page .... but , in the product category page, you can see the sidebar below the page!
    look here
    https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-prn2/t1/q71/s720x720/1530349_563084517114593_772054537_n.jpg

    can u help me?

  23. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    can you send me the link of the product archive page?

  24. litz
    Member
    Posted 7 months ago #

  25. Towfiq I.
    Member
    Theme Author

    Posted 7 months ago #

    sorry for the late reply.

    replace these texts:
    .post-type-archive-product

    with these
    .tax-product_cat

  26. litz
    Member
    Posted 7 months ago #

    Now the sidebar is on the right but the layout is too wide ... very bad!
    look here http://www.centrovivai.com/categoria-prodotto/arredo-urbano/

    I have problem only for category page, others pages are OK!

    thank you for your help! :)

  27. Towfiq I.
    Member
    Theme Author

    Posted 6 months ago #

    you forgot to replace this code in footer.php:

    <script type="text/javascript">
     jQuery(window).ready(function() {
    jQuery('.single-product #container, .single-product #sidebar, .post-type-archive-product #container, .post-type-archive-product #sidebar').wrapAll('<div class="woowrap"><div class="wooinner"></div></div>');
    });
    </script>

    with this:

    <script type="text/javascript">
     jQuery(window).ready(function() {
    jQuery('.single-product #container, .single-product #sidebar, .tax-product_cat #container, .tax-product_cat #sidebar').wrapAll('<div class="woowrap"><div class="wooinner"></div></div>');
    });
    </script>
  28. litz
    Member
    Posted 6 months ago #

    thanks, finally I've solved it! :D

    An user told me that you can not see the menu with IE10 (menu items appear one above the other, all right-aligned, look here https://scontent-a-mxp.xx.fbcdn.net/hphotos-prn1/t1/1012408_567607279995650_987016932_n.jpg) ... Do You have encountered the same problem?

  29. Towfiq I.
    Member
    Theme Author

    Posted 6 months ago #

    I cannot see the image..
    haven't heard of this kind of issues before though..

  30. pohjacifran
    Member
    Posted 6 months ago #

    Hi,

    I'm also facing the above issue whereby the sidebar disappears on the single product pages after the woocomerce update.

    Could you please assist?

    I'm using the XING template and adding the above code to the stylesheet n footer.php did not work out.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic