johnwandler
Forum Replies Created
-
“However, if you need to store the number without the country code, this feature is available in the Pro version of the plugin.”
You have got to be kidding me.
Charging people so you won’t store number’s prefix when i don’t even want to be international only coutry-based is insane.
Anyway, thanks. I’ll try to rewrite code by myself or search for another plugin.
Such an amazing support!
Two weeks and no response, wonderful!
Is this plugin dead or what?
Try one more thing, as i said before “(…) make sure you don’t have any active filters selected, then either grab “min” slider even more to the left or right slider even more to the right (…)”. On this video, you’ve started by dragging right slider to the left, try pull that slider even more to the right, or left even more to the left. URL must be clean – no active filters must be present.
https://vimeo.com/1072504041/8cf667aaed?share=copy
I wasn’t able to record console, but it actually prints out errors as i reported before.
- This reply was modified 1 year, 2 months ago by johnwandler. Reason: Added link to a video
- This reply was modified 1 year, 2 months ago by johnwandler. Reason: Added comment for console
Everything is “new”. That installation is on a different server, no custom changes. After adding:
$(document).on('change input blur focus', '.wpc-filters-range-min', function(){ $(this).removeAttr('disabled')}it’ll no longer display 403. Looks like disabling inputs (price in this case) is not recommended. Also you’ve mentioned that negative numbers are allowed, because people requested it. One simple “if” statement checking for “_price” meta is enough. You don’t even have to add server-side validation, because it’s not a critical function, it’s only a sorting addon, but adding some jQuery to check for empty/NaN/too low/too high values would be super helpful.
My super lazy, unoptimized code (there’s even a gap in “range-min” checking), not finished code fixed a lot of problems. I’ve been checking for multiple events just to be sure that everything works as it should. I will no longer update this, because i found another addon/widget.
$('.wpc-filters-range-min').attr('min', $('.wpc-filters-range-min').attr('data-min'))
$('.wpc-filters-range-max').attr('max', $('.wpc-filters-range-max').attr('data-max'))
$(document).on('change input blur focus', '.wpc-filters-range-min', function() {
$(this).removeAttr('disabled')
$(this).attr('min', $(this).attr('data-min'))
})
$(document).on('change input blur focus', '.wpc-filters-range-max', function(e) {
$(this).attr('max', parseFloat($(this).attr('data-max')))
if (parseFloat($(this).val()) >= parseFloat($(this).attr('data-max'))) $(this).val(parseFloat($(this).attr('data-max')))
if (parseFloat($(this).val() == '0')) $(this).val(parseFloat($(this).attr('data-max')))
if ((e.type === 'blur' || e.type === 'change') && (parseFloat($(this).val()) < parseFloat($('.wpc-filters-range-min').attr('data-min')) || $(this).val() == '')) $(this).val(parseFloat($(this).attr('data-max')))
$('.wpc-filters-range-min, .wpc-filters-range-max').removeAttr('disabled')
})Done, my bad.
https://smartwebsite.pl/filter-everything_test/sklep/
Frest install, two products with different prices. Everything is just default, basically. SAME ISSUE. My settings on fresh install:




I’m using in on a closed, dev-only environment.
I’m using _price as a meta tag, but it happens on every input type=”number”. Where’s the issue:
- input type=”number” is missing its “min” and/or “max” value. It already has “data-min” and/or “data-max”. E.g. you can either use input type=”number” or a slider, if enabled, to set values that are “not allowed” to be set. Like i said before, in my case, i’ve got 1.349 as min. price and 3.299 as max. price in a specific category. If slider is enabled, make sure you don’t have any active filters selected, then either grab “min” slider even more to the left or right slider even more to the right, and you’ll see that input type=”number” will be disabled and a slider won’t work anymore.

- Another problem with input type=”number is:

You are even able to set negative values somehow…

- This reply was modified 1 year, 2 months ago by johnwandler. Reason: Fixed typos
Forum: Plugins
In reply to: [WooPayments: Integrated WooCommerce Payments] 404 null on every pageActually, i’m facing exact same issue just after an update, but in my case – i’m logged in, hovewer, it doesn’t matter. I’ve noticed that this issue (console error) happens on:
- cart page (not checkout)
- single product page
It adds
/nullin the console at the end of a link and then, right below,VM974:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSONFew people also reported exact same issue. Forminator is trying to load an asset that doesn’t exist (screenshot).

You can check Contact page. I’ve got multiple contact forms and each one of them has the same problem.
- This reply was modified 1 year, 7 months ago by johnwandler. Reason: Link and typos
Your code prevents access to a Single Listing page for logged in and not logged in users, even if that option is DISABLED.
Forum: Plugins
In reply to: [Booking Calendar] Form submission event missing in GTMCool, but again – i’m using 9.1.1, not 10.X.
Meanwhile, here you go, folks:
function my_booking_tracking() { ?> <script type="text/javascript"> window.dataLayer = window.dataLayer || []; const customEventName = // you can check for some fields etc. if you want to display custom event name in your GTM based on hidden/displayed fields, you can omit that, it'll be displayed as "Message" tab in your GTM window.dataLayer.push({ 'event': customEventName, // check above 'inputs': document.querySelector('#name1').value // etc, etc, etc }); </script> <?php } add_action('wpbc_track_new_booking', 'my_booking_tracking');Resolved myself. Please, read carefully next time what info client is giving you instead of typing responses from your template.
Forum: Plugins
In reply to: [Booking Calendar] Form submission event missing in GTMThank you for response.
As i said – yes, i’ve checked that article before, but it doesn’t seems to work. I’m using 9.1.1 version. Do i have to type specific variables? GTM inside that function returns nothing on GTM page.
Try inspecting that element and see, what “display” is applied atm. It looks like “display: block” for me, but give me more info, if you’ll still need a help.
Edit:
Also check “word-break” property.- This reply was modified 2 years, 2 months ago by johnwandler.
Where exactly is the problem? I had the same issue, so i went to form builder, then i re-selected icon, pressed “Save” and it worked. Some icons / links have incorrect path names, you have to re-select icons where needed.

This is what i’m talking about. Steps to reproduce:
- Click “Add new listing”
- Type any location that you want
- Type another location, and another, and another, etc.
Pins will eventually keep stacking. There’s a button “Remove pin/marker”, but you have to click that button before changing location. It won’t update (by update i mean old pin should be moved or removed automatically) after changing location.
Is there a way to do that or it’s a Google Maps limitation?
Temporary solution (not ideal):
$(document).on('change', '#address', function() { $('#delete_marker').trigger('click') })You can limit to “Add / Edit listing” by changing to “#directorist-add-listing-form #address” and “#directorist-add-listing-form #delete_marker”. Also, you can modify event listener to “change input”, if you want to delete marker right after any input.
- This reply was modified 2 years, 2 months ago by johnwandler.