Home Forums WoodMart support forum Product attribute problems

Product attribute problems

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #573026

    shyshka_igor
    Participant

    Hello.
    I have a problem with product attributes: on the product page, the attribute value is indicated with a space. For example: the actual value is 7,5 (A++), but on the product page it is displayed – 7 , 5 (A++).
    Also, for some attributes I have applied code that creates a field for the link. If the field is filled in, the attribute value becomes clickable. Previously this code worked great, but now it doesn’t work. I changed the theme to standard and the attribute values ​​became clickable. For example, on the page: https://tramontana.com.ua/ru/ch-s09ftxla2-ng-cooper-hunter/ there is an attribute: Marking, Маркировка, тыс. BTU, where 9 have to be a clickable attribute.

    • This topic was modified 1 week, 2 days ago by shyshka_igor.
    • This topic was modified 1 week, 2 days ago by shyshka_igor.
    #573030

    shyshka_igor
    Participant

    I install next patches:
    568367
    FIXED: Render product attributes. (Topic)(Topic)
    562793
    FIXED: Save product attributes with rare symbols. (Topic)
    and problem with “space” in attributes is disappeared. But the problem with clickable attributes still persists.

    #573205

    Luke Nielsen
    Keymaster

    Hello,

    Could you please send me access to the admin panel so I can check the settings of the site?

    Looking forward to collaborating with you!

    Kind Regards

    #573207

    shyshka_igor
    Participant

    Of cource, if you need, you can check

    #573564

    Luke Nielsen
    Keymaster

    Hello,

    Enable the “Archives” for the attribute and then it will be clickable – https://gyazo.com/7d52418c75967f919fcff0c70b58eb20

    https://prnt.sc/fYM5go_EQTTb

    Kind Regards

    #573649

    shyshka_igor
    Participant

    I see that you misunderstood the essence of my problem. I’ll try to explain step by step.
    For example: I have a attribute BRAND as you show in the screenshot. I also have a list of values ​​for the brand attribute: Tenko, Cooper&Hunter and much more. If you go to the attribute: Cooper&Hunter value, and try to change it, you will see an additional field in which I have inserted a link that leads to the page I need. I enter this link manually, myself, and it definitely worked before the theme update, continues to work on the standard theme, but does not work on the Woodmart theme after the update. If i dont put any link in this field, attribute will not be clicable. At the same time, in the value of the Tenko attribute, this field is empty and such an attribute will not be clickable until I fill this field. It not depends on “enable archive”. All archive have to be disabled. Read more about how this is implemented here.
    https://nicolamustone.blog/2016/03/11/make-product-attributes-linkable/
    I used this method for SEO and internal linkbuilding, and it is very important for my website rankings.
    Now I see that this stopped working after updating the theme, but it works with other themes. If you need, you can check it with old theme version (7.4.3). Therefore, I came to the conclusion that something has changed in the theme itself, after which the code does not work.

    #573934

    Luke Nielsen
    Keymaster

    Hello,

    Thank you for the clarifications.

    We have fixed that on your website. In general, it will be fixed in our next update.

    Thank you for your patience and time.

    Kind Regards

    #573944

    shyshka_igor
    Participant

    Thank you for your attention to my problem. I want to clarify two questions:
    1) Now I do not see any changes and that the problem has disappeared. This may be due to the fact that I had to restore a backup due to problems with the woocommerce update. But I did it around 12:00 noon today, and you reply me around 17:00.
    2) I have two other sites with the same problem.
    https://cooper-hunter.org.ua/
    https://haier-aircon.org.ua/
    If you could tell me how to fix this, perhaps I would do it before the update comes out, so as not to waste time.

    #574047

    Luke Nielsen
    Keymaster

    Hello,

    For other sites, you need to apply the 568367 patch, as for the last site that you have sent access, at the moment I see that it works well – https://monosnap.com/file/vStVRyDfeAVCDz29bKfrdF1ooklguZ

    Kind Regards

    #574083

    shyshka_igor
    Participant

    Please check my printscreen and try to understand what i mean. The link that you see in the standard theme is taken from the field in the attribute description – see the print screen “url”. And it does not work in woodmart, after updates.

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

    Luke Nielsen
    Keymaster

    Hello,

    After reviewing your issue once more, we have identified a conflict between some third-party functionality and our theme. In the previous update, we added the ability to include a description in the tooltip within the term, which has caused this conflict. Since the URL is part of the third-party functionality, unfortunately, we cannot resolve this in the theme. The best we can do to help is to disable this feature by adding the following code to the child theme:

    remove_filter( 'woocommerce_attribute', 'woodmart_add_term_hint', 10, 3 );

    Kind Regards

    #575075

    shyshka_igor
    Participant

    I add this code to functions.php, but the problem is still present. Maybe i do something wrong?

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