hi, I’m trying to link a search box to a page on my Wix site, the link I need to get to is “https://www.bioxskincare.com/contact-us” but I need the extension of this link, it’ not .html, so how can I figure this out…or how to do it? “contact-us” or “/contact-us” doesn’t work.
Please help.
Hi Carlos!
This forum deals only with WixCode issues.
I would recommend contacting the Wix support team , as they know best.
Doron.
Hi Doron, well I’m back! I tried Wix support and Metalocator support bu not of them gave me an answer or solution, it seems that Wix doesn’t allow a serach box data to be sent a different page on the same wix site. Basically I installed metalocator here:
https://www.bioxskincare.com/contact-us
But, I need to set up a simple “please enter your zip code” box in several different pages (example: https://www.bioxskincare.com/), so when people enter their zipcode, it just takes them to the metalocator’s page on my site and do the search for the nearest store.
I’d really could use some help with this, I’m used to working with Wordpress, Joomla, HTML sites, but this is my first Wix site by client’s choice, so please help!
Thanks!
Hi Carlos!
I don’t really understand what you’re trying to achieve but I’ll try giving you a direction to what may be your solution.
In order to send a variable’s value to the next page you can use the Wix-Storage API and the user’s local storage.
As for the zip code search box (or any search box on that matter) you can use this guide to build a search bar that uses WixDataQuery on your site’s collection.
Note that the query only works with data that exists in your collection.
You can also use embed HTML code using Iframe if that works for you.
Let me know if anything works for you.
Doron.
Hi Doron, thank you for replying, did you look at my site, the links I posted? I guess I’m being clear enough, I don’t know how to explain myself better.
If you go to https://www.bioxskincare.com/ you’ll see a gray module that says: " Find a BioXcellerator-certified physician near you:" so you’re supposed to enter your zip code there, then that value has to go to the Metalocator script installed in https://www.bioxskincare.com/contact-us so Metalocator searches for the stores closer to that zip code. We don’t want to have the whole Metalocator interface on the home page or on the other pages of the site, just a small box where visitors can enter their zip codes and then that cation leads them to https://www.bioxskincare.com/contact-us and Metalocator does the search. That’s why I dont’ think data collection will work, because it won’t look on stored values, but on Metalocator.
I did install an HTML iFrame, that’s how it is currently working on the home page, but it seems Wix doesn’t allow information to be sent to a different page. This is the pasted HTML code given by Metalocator:
But when you enter the zip code on that box, it just returns:“404 not found” and does nothing.
Was that clearer and better?
Thanks! Please help!