Home Forums WoodMart support forum Quick View for variable Product

Quick View for variable Product

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #297519

    iRomeK
    Participant

    Hey Guys,

    when I add a linked product as a variation, so for example I want to show the ring in silver as linked products, cause the main product is in silver too. Then the variation will be shows in linked products section of the product page its assigned to. Nevertheless, when I click the “quick view” Icon, there will just be blank popup.

    And the “new” Badge will be gone too.

    When I add the parent product (not a specific variation) to the linked product, the quick view will work and the badge is there. How can I fix this?

    Thank you and best regards,
    iRomeK

    #297550

    Hello,

    Could you please elaborate what you actually want with some relevant screenshots and with the URL of the website to check it myself and help you out accordingly. Because your current explanation is not clear enough to understand what issue you are facing.

    Best Regards

    #297742

    iRomeK
    Participant

    Sure, and thanks for your answer.

    Here you can see it stew by step. Staging Link below.

    The stetup of the variation and the parent: https://ibb.co/7jPqyKz
    The look of the variation: https://ibb.co/RcsdstC
    klicking on quick view of variation https://ibb.co/vXGX3mT
    not working pop up for variation: https://ibb.co/ZTrg6Xt
    working parent: https://ibb.co/4f7vs6M

    best Regals,
    iRomeK

    #297756

    Hello,

    I have tried to visit the URL you provided but was unable to visit. It is asking for username and password.

    Please provide a login and password to check it myself and help you out accordingly.

    Best Regards

    #297903

    iRomeK
    Participant

    Hey,

    sure. sorry. I thought you could visit it like normal.

    User and PW in the PC.

    Best regards and thank you,
    iRomeK

    #298041

    Hello,

    I have visited your website and the other product variations are working on the quick view.

    Screenshot for Clarification: https://gyazo.com/281a52bad0720704af393d53563e6f1c

    The issue seems to be with the product. Please try recreating the product then add it to the linked product then check back.

    Best Regards

    #298194

    iRomeK
    Participant

    Hey,

    thank you for answering. Well you did use the parent product. you need to try the quick view on the silver one.

    Here is the video: https://streamable.com/ke7mbm

    Thank you and best regards,
    iRomeK

    #298198

    iRomeK
    Participant

    Hey guys,

    maybe I found the problem, this is what a genius developer of me found. Can you maybe change this line of code? Cause I think this will boost your theme as well! =)

    What are your thought to this?

    Thanks ans best regards,
    iRomeK

    #298298

    Artem Temos
    Keymaster

    Hello,

    We will add a WordPress filter/hook there so you would be able to customize that post_typ value in the child theme in our next theme update.

    Kind Regards

    #298301

    iRomeK
    Participant

    Hey guys, you are awesome! Thank you! I have one more thing to make this variation product thing outstanding. For this we need one more filter/hook.

    I added the php code below. With this one, I am able to show the “new” badge for variable products as well.

    Would it be possible too for the next update to add sufficient hooks and filters to modify the output of badge function?

    Thank you so much!

    Best regards from Germany,
    iRomeK

    #298340

    Artem Temos
    Keymaster

    Hello,

    Could you please clarify where do you want to add the filter exactly in the theme code?

    Kind Regards

    #298348

    iRomeK
    Participant

    Hello, sure.

    I added a plugin to make the search and filter options work accurate. So by filtering for a specific color, I want to show the right color, so the variation of the product with this specific color and not the parent Product like WooCommerce does by default. (there you need one more click to see the actual result).

    So the filtering and searching is working quite well. The only problem is, that the “badge” is not showing up. I want the new badge to be displayed for all the variations, not just for the parent. With this code, we can make it show up, but we need a filter/hook.

    As you can see in link above, the variations of the product (without the plugin I mentioned) are not showing up this badge as well by default nor works the quick view. But this is a really big deal to show accurate filtering. And the last step to make it work (I guess) is a way to make this code work too.

    Best regards,
    iRomeK

    #298534

    iRomeK
    Participant

    And here is the reply from the dev.

    Thank you and best regards,
    iRomeK

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

    Artem Temos
    Keymaster

    Hello,

    OK, we will add the filter hook there as well.

    Kind Regards

    #298746

    iRomeK
    Participant

    Ok thank you very much! =)

    And can you send me an update copy so that my dev can start?

    Best regards and thank you for the support,
    iRomeK

    #298785

    Artem Temos
    Keymaster

    It would be better if he adds these hooks by himself and then, after the update, you won’t lose any changes. We can’t send an updated copy because it is under development and contains other changes as well.

    #301512

    iRomeK
    Participant

    Hey,

    thank you for the update. Well we found some new hooks and make them work for our plugin.

    Regarding the badge task, we will need a filter in woodmart_product_label() function inside
    woodmart/inc/integrations/woocommerce/template-tags.php

    Ideally the filter should be on $output variable before it is converted into a string. Somewhat like this (screenshot below).

    Can you please add such a filter?

    Thank you very much and best regards,
    iRomeK

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

    Artem Temos
    Keymaster

    We have added this hook in our 6.1.1 version that has been released just now.

    #302451

    iRomeK
    Participant

    Thank you very much! =)

    #302455

    Artem Temos
    Keymaster

    You are welcome!

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