Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (attributes.includes('Limited Editions')){
- console.log('its availabe');
- $('.attribute-limited_edition').html("<input type='checkbox' name='limit-edition' id='limit-edition'/> <span class='label'>Limited Edition</span>");
- }
- $(document).on('click', '#open-edition', function () {
- $('.is-widget-container-open_editions .ais-root .ais-body .ais-refinement-list--label input').prop("checked",true).trigger("click");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement