Okay
  Public Ticket #1081930
How do you get Cross-Sells and Upsells to work
Closed

Comments

  •  2
    hpetsteg started the conversation

    We are setting up a new site and up-sells will show on the single product page with other themes, but will not show with Aurum.  Could you help and let us know how to get up-sells, the ones that should show on the single product page, enabled/configured.  Cross-sells, the ones that show on the cart pages, work fine (the title above is wrong)

    Thanks! 

    Note: this issue is also open under another ticket: https://laborator.ticksy.com/ticket/1081843/  No need to respond to both tickets (go ahead and close this one if you want), we just wanted to let you know we have tried this with multiple purchased copies/implementations.

  • [deleted] replied

    Hi,

    The cross-sales and up-sales are set at the default place for all products, for more see this video to learn more how it works in our theme:

    http://drops.laborator.co/tKdg

    I hope this will help you.

  •  2
    hpetsteg replied

    Arlind, 

    Thank you for the video link.  We updated to the the latest version of the Aurum theme on the test site and verified the "linked products" area contains valid Up-Sell and Cross-Sell products (see product.jpg screen shot).  We then switched to the Storefront theme and the Up-Sells and Related Products sections show properly (see storefront.jpg screen shot).  Then we switched to the Aurum (technically we are using the Aurum-child theme), the Up-Sells and Related Products no longer show on the Single Product Page (see aurum.jpg screen shot).  The test URL in the screen shots is at http://animaldoor.com/product/drag-bag-2/

    Can you help us figure out what we are doing wrong?  What do we need to get Up-Sells (and Related Products) to show on the Single Product page of the Aurum theme?

    Thanks!

    Don 

  • [deleted] replied

    Dear Don,

    Sorry about these issues, I am not aware what might cause this. However I need deeper investigation of the problem, so can you please send me your WP credentials here (they will be visible only for me) and I will take a look and fix the problem for you.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

  •   hpetsteg replied privately
  • [deleted] replied

    Hi Don,

    I am not sure why related products are not showing, however after adding this code in functions.php it fixed the issue:

    // Display upsells and related products
    function show_related_and_upsells_products() {
    woocommerce_upsell_display();
    woocommerce_related_products();
    }

    add_action( 'woocommerce_after_single_product_summary', 'show_related_and_upsells_products' );

    Now linked products are shown:


    (view large version)

  •  2
    hpetsteg replied

    Hi Arlind,

    Thank you VERY MUCH!  works great.  

    And of course now that you have fixed it a co-worker here saw the base issue (sorry we did not see it before troubling you).  We had "Related products count (shown on single product page)." in the Theme Options set to 0.  When we set that to 4 we got the up-sells and related products correctly (well actually got 2 sets, the second thanks to the functions.php hook you gave us.  I am sorry for wasting your time on a dumb user error type of problem.  I wanted to update this thread in case someone else reads it that the theme works fine, it was doing exactly what it was told to do.

    On a different note, you guys might want to add an annual support agreement.  We always buy the theme for each client but it would be nice to help fund your efforts with a support contract we could purchase so the theme stays in step with WooCommerce in the future. 

    You, Art and Ylli  do awesome work.  This theme is heads above the many others we have worked with.  It has a stunning visual layout/look, rich functionality, but is still fast, clean, and has little plugin bloat.  Backed with excellent support, it is our go-to theme for new clients looking for a great WooCommerce theme.  Thanks, you make us look great!  

    Thanks again,

    Don

  • [deleted] replied

    Hi Don,

    Ahh, I didn't know that was causing it. So in this case you can remove the code I gave you and use the options from Theme Options.

    Its not a problem, you didn't waste my time, I was thinking this was a theme bug and tried to fix it.

    As for support agreement, it actually exists and here you can read more:

    https://themeforest.net/page/item_support_policy

    Thank you a lot for your kind words, I really appreciate your feedback. I would be happy if you can add this as a review for our theme on themeforest from your Downloads tab, (if you don't know how, just open this link).