Linked and Related product fields not working since update
Post a URL to your site and someone can take a look.
Thanks for replying!
Sorry, I meant on the backend, when I’m entering Up-sells and Cross-sells for a new product. Does anyone know if this feature has been removed from the Woocommerce update?
These are 2 things I noticed in the HTML for the backend that seemed like they might be clues (shown in larger HTML context below):
style=”width: 0px;” autocomplete=”off”
…and this is from the CSS that’s showing in the site inspector for the Up-sells and Cross-sells input boxes:
//***HTML***// <p class="form-field"> <label for="crosssell_ids"></label> <select id="crosssell_ids" class="ajax_chosen_select_products chzn-done" data-placeholder="Search for a product…" multiple="multiple" name="crosssell_ids" style="display: none;"></select> <div id="crosssell_ids_chzn" class="chzn-container chzn-container-multi" style="width: NaNpx;" title=""> <ul class="chzn-choices"> <li class="search-field"> <input class="default" type="text" style="width: 0px;" autocomplete="off" value="Search for a product…"></input> <div class="chzn-drop"></div> </div> </p>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Im having a similar issue but with the editing coupons.
With the theme I want to use I see all the “chzn-container” & “chzn-choices” but when switching to a default theme (twentyfourteen), I see “chosen-container” & “Chosen-choices”.
Ive also simply tried overriding the inline style of the input text box to 40px but still doesn’t work.
Havent solved it yet. Help?
I was able to fix a very similar issue by updating a couple of jquery chosen files provided to me by my theme developer.
Im not a js developer myself so Im afraid my info here is only basic, but I can tell you that the newest woo is not fully compatible with the latest jquery chosen. (http://harvesthq.github.io/chosen/)
It appears you theme has chosen bundled within it as I can see class & Id’s using “chzn” versus “chosen” in your code. That might be a direction to look into.
- The topic ‘Linked and Related product fields not working since update’ is closed to new replies.