Home Forums WoodMart support forum PureClarity Wishlist icon issues after the last theme update

PureClarity Wishlist icon issues after the last theme update

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #417110

    coveti
    Participant

    We are using PureClarity for recommended products on the website. On the PureClarity carousel, the wishlist icons used to work, but now they are not working.
    Please check the below video to fully understand the issue:
    https://www.loom.com/share/071be05c661f4981bd7f36c3f757c3d8
    We contacted Pureclarity and they said the wishlist icon was designed to be part of the theme and we need to contact you to fix it as it happened after the theme update.
    The code we use on PureClarity

    <div class="wd-wishlist-btn wd-action-btn wd-style-icon wd-wishlist-icon">
    				        <a class="wd-tltp wd-tooltip-inited" href="https://coveti.com/wishlist/" data-key="<?php echo esc_attr( wp_create_nonce( 'woodmart-wishlist-add' ) ); ?>"  data-product-id="{{this.Id}}" rel="nofollow" data-added-text="Browse Wishlist" onmousedown="{{this.clickEvt}}">
                                <span class="wd-tooltip-label">Wishlist</span>
                                <span>Wishlist</span>
                            </a>
    			        </div>

    The issue we have is the data-key="<?php echo esc_attr( wp_create_nonce( 'woodmart-wishlist-add' ) ); ?>" The code doesn’t get the data key that is generated by your theme as per your article here: https://xtemos.com/forums/topic/wishlist-button-3/

    #417160

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and switch to the parent theme so we can check it? Also, send us a direct link where we can test this issue on your website.

    Thank you in advance

    #417245

    coveti
    Participant

    You will find access to our staging site on the private content.
    On our staging site, the PureClarity Wishlist icon works fine: https://coveti.com/1661345658274/
    It is working because the theme on our staging site is the old version, but once you update it the wishlist won’t work.
    You can deactivate all the plugins on our staging site and go back to the parent theme as you like.
    Please note that our staging site has no images except for the PureClarity products. The product in question is the one that has images which all the products on the hime page: https://coveti.com/1661345658274/.

    #417518

    Artem Temos
    Keymaster

    Hello,

    Please, keep all the external plugins temporarily turned off on your staging website. Also, update the theme to the latest version first.

    Kind Regards

    #417835

    coveti
    Participant

    We did deactivate all the plugins and updated the them, the issue is showing now after we updated the parent theme

    #417839

    Artem Temos
    Keymaster

    We don’t see a problem adding to wishlists products on the shop page. Could you please record a video with a problem now?
    Also, please, fix the product images issue because your website can’t be loaded properly and this may affect some scripts.

    Kind Regards

    #418348

    coveti
    Participant

    Here is the link for the issue: https://www.loom.com/share/e81f8e8bb5b7404a9be3a9594bceff4a

    Regarding the images the website is too big over than 90GB that is why we cannot duplicate the images to be loaded in a staging site

    Please note that the wishlist was working before we update the theme.

    #418396

    Artem Temos
    Keymaster

    The section on the screen is not a part of the theme. It has a custom wishlist button and needs a custom JS script to make it work. Maybe you had one before the update that is incompatible with the new version. In this case, you need to fix this because repairing any third-party scripts unrelated to our theme is out of our theme support scope.

    Kind Regards

    #419754

    coveti
    Participant

    That is the JS code we use, it used to work with the old version of the theme.

    <script type='text/javascript'>
        (function(id){
            let wishlistElements = document.getElementsByClassName('wd-tltp wd-tooltip-inited');
            for(var i = 0; i < (wishlistElements.length < 50 ? wishlistElements.length : 50); ++i){
                let el = wishlistElements[i];
                let key = el.getAttribute('data-key');
                if(key){
                    let recElList = document.getElementsByClassName('pc-recommender-{{uniqueId}}');
                    if(recElList && recElList.length > 0){
                        let recEl = recElList[0];
                        let recWishlist = recEl.querySelector('.wd-tltp.wd-tooltip-inited');
                        if(recWishlist && recWishlist.length > 0){
                            for(var j = 0; j < recWishlist.length; ++j){
                                recWishlist[j].setAttribute('data-key', key);
                            }
                        }
                    }                
                    break;
                }
            }
        })('.pc-recommender-{{uniqueId}}');
    

    Please help us make the code compatible with the new version of the theme

    #419781

    Artem Temos
    Keymaster

    Hello,

    This code is not a part of our theme. Fixing code made by 3rd-party developers is out of our theme support scope, unfortunately.

    Kind Regards

    #420919

    coveti
    Participant

    You guys must be kidding. You made an update with lots of issues and refused to help.
    You made our website a mess because of your update, and you are not helping.
    -The price filter is not showing properly on the shop page
    -The social media icons are shown vertically in the footer.
    -The wishlist is not working anymore in Pure Clarity.

    #420921

    Artem Temos
    Keymaster

    Hello,

    Sorry, but you didn’t mention these issues earlier. Please, give us more details about them and we will do our best to help you.
    As for the wishlist problem, it is caused by your custom code that is no longer compatible with our theme. You or your developer need to review and fix it. Fixing additional customization is out of Envato Theme Support’s scope. You can read more in the article https://themeforest.net/page/item_support_policy

    Kind Regards

    #421194

    coveti
    Participant

    Artem Temos you are not helping; please assign the case to someone else or to your manager and ask him to read what I said well. I did explain everything in my comments.

    #421196

    Artem Temos
    Keymaster

    Hello,

    But you didn’t write anything about social icons and price filter on this topic. Are you talking about a different topic? Please, explain these two issues and I will help you.

    Kind Regards

    #421293

    coveti
    Participant

    I did said that:
    -The price filter is not showing properly on the shop page
    -The social media icons are shown vertically in the footer.

    What else do you need, it is clear as the sun.

    #421300

    Artem Temos
    Keymaster

    Hello,

    1. But it is showing on your website shop page at the moment https://gyazo.com/b8817b7957db5be2181a5201f2732c75

    2. We don’t see social media from our theme on your website. Please, send us a screenshot.

    Kind Regards

    #421306

    coveti
    Participant

    This is how it shows, olease check the attached file

    Attachments:
    You must be logged in to view attached files.
    #421483

    Artem Temos
    Keymaster

    You are using the wrong widget for this. You added a Gutenberg block from WooCommerce but you need to use a classic widget instead like on the staging website that we sent you a screenshot from. It is not related to our theme update.

Viewing 18 posts - 1 through 18 (of 18 total)