Make unavailable attribute unclickable in certain combinations

This topic has 20 replies, 3 voices, and was last updated 1 months ago ago by Andrew Mitchell

  • Avatar: ziga32
    ziga32
    Participant
    January 8, 2025 at 15:10

    This attribute only has 1 color and 1 dimension.
    https://share.cleanshot.com/75ymJV8w

    When selected, can I make all other colors unclickable and crossed out like here
    https://share.cleanshot.com/lj9ldqrR

    19 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 8, 2025 at 16:05

    Hello,

    Thank you for reaching out to us.

    Go to your WordPress Dashboard > WooCommerce > Settings > Products > Inventory. Ensure that the “Enable stock management” option is checked.

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    January 9, 2025 at 11:04

    this is already enabled

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 9, 2025 at 11:22

    Hello,

    Thank you for reaching out to us.

    Could you kindly provide the URL to the product page from your example, along with temporary wp-admin access, so we can assist you further?

    We look forward to your response.

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    January 9, 2025 at 12:08

    sending login ingo

    Also, now I see atributes are crossed out, but only for a second when page loads.
    https://share.cleanshot.com/KlHs6426

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 9, 2025 at 13:00

    Hello,

    We appreciate your prompt response.

    Could you kindly provide the URL of the product shown in your screenshot? This will help us assist you more effectively.

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    January 9, 2025 at 13:14

    It’s not published, hope this link will work
    https://ergovision.si/?post_type=product&p=10436&preview=true

    if not, product name is CLASSIC 2

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 9, 2025 at 16:38

    Hello, ziga32,

    Thank you for reaching out to us. First and foremost, we kindly recommend updating your theme to the latest version, as it is possible that the issue you are experiencing has already been resolved in one of the updates.

    If updating the theme does not resolve the problem, we suggest trying an alternative stock logic for swatches. You can enable this option by navigating to:
    Customizer -> WooCommerce (Shop) -> Shop Elements -> Variation Swatches -> Use Alternative Stock Logic

    Should you require further assistance, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    January 10, 2025 at 00:30

    thank you, I updated and enabled alternative stock logic, but it’s the same
    https://share.cleanshot.com/VrwKKlNJ

    Here is a gif video, after refreshing it appears ok for a second.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 10, 2025 at 13:50

    Hello, ziga32,

    Thank you for your message. However, we are unable to replicate the issue on our end. Could you please provide us with a link to the product featured in the video, as well as FTP access?

    Best regards,
    8Theme’s Team

    Avatar: ziga32
    ziga32
    Participant
    January 10, 2025 at 13:55

    what do you mean?
    for example here
    https://ergovision.si/pisarniski-stoli/ergonomski/ergo-basic/

    blue, red and white/gray chairs are out of stock and atributes should be crossed out.

    If I refresh it looks ok for fist two seconds
    https://share.cleanshot.com/Yk1Qrp92

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 10, 2025 at 14:27

    Thank you for providing the access details. However, we are unable to connect to the FTP server as we are encountering the following error:

    Error:          Connection timed out after 20 seconds of inactivity
    Error:          Could not connect to server
    Files is visible for topic creator and
    support staff only.
    Avatar: ziga32
    ziga32
    Participant
    January 10, 2025 at 15:46

    can you try this new account please

    if it’s not working send my your IP

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 13, 2025 at 11:18

    Hello, ziga32,

    Greetings! You can find the IP in the private content section.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: ziga32
    ziga32
    Participant
    January 13, 2025 at 11:29

    done, please try now

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 13, 2025 at 17:05

    Thank you for providing access. We have identified the cause of the issue. The problem was related to a custom code snippet added to the functions.php file of your child theme.

    For now, we have commented out the problematic code. Could you please check if the issue persists?

    Should you have any further questions or require assistance, feel free to reach out.

    Best regards,
    8Theme’s Team

    Please contact administrator
    for this information.
    Avatar: ziga32
    ziga32
    Participant
    January 13, 2025 at 17:44

    Thank you,

    I guess // is not agood practice cause it messes up the site.
    https://share.cleanshot.com/JVYnzyqy
    https://share.cleanshot.com/vhL8RkRT
    https://share.cleanshot.com/69ZY7ySy

    Ia have no idea what this code does so I disabled it for now, thank you, looks like swatches are working ok now.

    One last thing, any way to make this disabled items more visible?
    https://share.cleanshot.com/sSMlQSgK
    right now X crosses are barely seen.red

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 13, 2025 at 18:05

    We would like to inform you that we have improved the visibility of inactive items by adding the following code to **Customizer -> Theme Custom CSS -> Global CSS**:

    ul.st-swatch-preview li.type-color.sten-li-disabled:before, .st-item-meta .st-swatch-preview.type-color.sten-li-disabled:before {
        background-color: rgba(255, 255, 255, 0.7);
    }

    If you have any questions or require further assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: ziga32
    ziga32
    Participant
    January 13, 2025 at 20:31

    many thanks, working great thank you!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 13, 2025 at 20:31

    Dear ziga32,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

  • Viewing 20 results - 1 through 20 (of 20 total)

The issue related to '‘Make unavailable attribute unclickable in certain combinations’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.