I want to show prices on recommended items

This topic has 21 replies, 3 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp

  • Avatar: mdapaz
    mdapaz
    Participant
    August 9, 2015 at 22:52

    Hi Support,

    I would like to adjust the WooPress template I bought to show the prices and product name (as well as add to cart button) for products that are suggested for the customer (example: recommended products in single product page.

    I need this in the folowing pages:
    – Single product page
    – Cart

    What do I have to adjust? Can you help me please? It should work on mobile as well.

    Thank you

    20 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 10, 2015 at 08:30

    Hello,

    Could you please show on a screenshot what you want to achieve and provide us with wp-admin panel credentials in Private Content?

    Regards,
    Eva Kemp.

    Avatar: mdapaz
    mdapaz
    Participant
    August 10, 2015 at 22:39

    Hi Eva,

    Comparing these two links I can explain what I want to achieve:
    https://www.rougefetish.co.uk/product-category/essentials/
    https://www.rougefetish.co.uk/shop/shunga-massage-oil-desire-vanilla/

    On the first one, the product list has the prices and reviews underneath the products.
    On the second one, related products section, this is not displayed, it’s only possible to see the product prices if I hover over the image of a product.
    I want the second link displaying products like on the first link.

    Any listing of products I would like to display like o the first link: with price and review underneath.

    Best Wishes,
    Madison

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 11, 2015 at 08:10

    Hello,

    I’ve disabled option “Product Image Hover” in Theme Options > Products Page Layout.
    Please check single product pages now and clear browser cache before.

    Regards,
    Eva Kemp.

    Avatar: mdapaz
    mdapaz
    Participant
    August 11, 2015 at 20:51

    Hi Eva,

    Thank you very much for the quick fix.
    I have another issue that maybe it’s more complicated.

    If you open the home page and analyse it with firebug or any debug tool, you will see that admin-ajax.php is called twice: once calling POST action=et_woocommerce_get_refreshed_fragments and other calling POST action=woocommerce_get_refreshed_fragments.

    The second was already being called and never updated anything and the first was an update I’ve made to support showing the cart via ajax. Because I’m using WP SuperCache, the cart was never being updated then I hacked the theme.js in the main templates folder to call admin-ajax.php and populate the cart once the page is loaded.

    My problem, with this change are actually two:
    – To achieve this I had to update the function et_woocommerce_get_refreshed_fragments in your woo.php to return all information about the cart. It seems that with my change it’s now very slow, as it takes between 5s-20s for one unique request with these parameters
    – admin-ajax.php is called twice what is killing me wordpress performance.

    Could you please help me with:
    – Avoiding admin-ajax.php being called twice
    – Maybe fix my changes or suggest a more efficient way of updating the cart, using woo.php (or the best way to do it)

    More details about my code changes (including lines and files) in the private section.

    Best Wishes,
    Madison

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 12, 2015 at 08:35

    Hello,

    Please try to use this cache plugin https://wordpress.org/plugins/w3-total-cache instead of the current one and disable “Object Cache” in the settings of “w3-total-cache” plugin.

    Best regards,
    Jack Richardson.

    Avatar: mdapaz
    mdapaz
    Participant
    August 12, 2015 at 13:52

    Hi sorry but I’ve already tried w3-total-cache and the same issue happens.
    It doesn’t have to do with the speed the cache is served but with the speed ajax-admin.php takes time to process the script.
    Also, changing for w3-total-cache wouldn’t sort my issue with ajax-admin.php being called twice…

    Best Wishes,
    Madison

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 12, 2015 at 14:58

    Hello,

    Please disable all 3rd-party plugins and check your site after that. Also this article may be helpful:
    http://www.inmotionhosting.com/support/website/wordpress/heartbeat-ajax-php-usage

    Best regards,
    Jack Richardson.

    Avatar: mdapaz
    mdapaz
    Participant
    August 14, 2015 at 22:10

    Ok guys this plug in didn’t work to remove the extra ajax-admin.php

    I’ll try to ask in a very easy way:

    If you open the home page and analyse it with firebug or any debug tool, you will see that admin-ajax.php is called twice: once calling POST action=et_woocommerce_get_refreshed_fragments and other calling POST action=woocommerce_get_refreshed_fragments.

    et_woocommerce_get_refreshed_fragments: it’s my implementation, it’s ok. Just slow.
    woocommerce_get_refreshed_fragments: it belongs to your theme, it’s supposed to update the cart but it doesn’t.

    Can you fix this please? I want’to have only one ajax update to the cart.

    Best Wishes,
    Madison

    Avatar: Eva
    Eva Kemp
    Support staff
    August 17, 2015 at 13:53

    Hello,

    We modified cart function to work with ajax in the latest theme versions. As I see you’re using very old theme version. You need update it.

    Please update the theme to the latest version and Woocommerce as well.
    Before update delete “woocommerce” folder in the directory wp-content/themes/woopress/ and it’ll be reuploaded from a new theme package.
    Also update all required plugins https://www.8theme.com/download-plugins/ .

    Don’t forget to create back up of your files and database before starting update process!


    (it’s for Legenda theme but the process is the same).

    Regards,
    Eva Kemp.

    Avatar: mdapaz
    mdapaz
    Participant
    September 17, 2015 at 01:55

    Hi Eva,

    This is a bit urgent now.
    I have two MASSIVE issues after I updated this template.
    First one is that the ajax cart sometimes loads the cart with zero items.
    The second one is that the breadcrumbs are with a weird colour and a background that I can’t find how to fix.

    Could you please help me with this?

    Regards,
    Madison

    Avatar: mdapaz
    mdapaz
    Participant
    September 17, 2015 at 02:02

    Also the my account link doesnt update after I log in.
    Can you please fix this?

    Avatar: Eva
    Eva Kemp
    Support staff
    September 17, 2015 at 09:05

    Hello,

    You didn’t update the plugins. Please update all required plugins, you can download them here: https://www.8theme.com/download-plugins/ .
    Also provide us with FTP credentials.

    Regards,
    Eva Kemp.

    Avatar: mdapaz
    mdapaz
    Participant
    September 18, 2015 at 09:58

    Hi Eva,

    Please find below the login details.
    I’ll update the plug ins as soon as possible but please have a look for me on this login issue first.

    Regards,
    Madison

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    September 18, 2015 at 10:19

    Hello,

    Please update all plugins first and after that check your site.

    Thank you.

    Regards,
    Eva Kemp.

    Avatar: mdapaz
    mdapaz
    Participant
    September 18, 2015 at 18:53

    Hi,

    It’s done Eva, all plug ins up to date.
    I’m still left with the same issues:
    – Cart resets to 0 items in the widget after ajax call
    – My Account / Sign in texts don’t update after login in (need ajax update)

    Kind Regards,
    Madison

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 19, 2015 at 09:34

    Hello,

    Please provide us with correct FTP credentials.

    Thank you.
    Best regards,
    Jack Richardson.

    Avatar: mdapaz
    mdapaz
    Participant
    September 22, 2015 at 19:02

    Please find below my FTP credentials

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 23, 2015 at 16:37

    Hello,

    I’ve added this code in .htaccess file:

    <IfModule mod_headers.c>
       Header set Access-Control-Allow-Origin "*"
    </IfModule>

    Please clear browser cache and check your site now.

    Best regards,
    Jack Richardson.

    Avatar: mdapaz
    mdapaz
    Participant
    October 4, 2015 at 22:40

    HI Guys,

    My customers can’t buy at my shop as the cart insists in go to zero items. Please, I implore you to fix this it’s been too long and I’m really losing money because of this issue.

    You add items to the cart.
    On the cart remove on item.
    Add item again.
    Cart goes to zero.

    Please fix this, please. It’s been too long…

    Regards,
    Madison

    Please, contact administrator
    for this information.
  • 1 2
    Viewing 20 results - 1 through 20 (of 21 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.