This object is in archive! 

Quote page - WP

Richard J. shared this question 6 years ago
Answered

We have set up 2 sites.

Site 1, is our original site and DOES NOT use the WP plug in. It has it's own quote request page

Site 2, we set up the WP plugin and it also has it's own quote page.

When we set the WP integration to IO in settings, both sites use the quote page associated with Site 1. When we set the WP integration to Website in settings, both sites use the quote page associated with Site 2.

What is the correct setting to get site 1 to use site 1's quote page and site 2 to use site 2's quote page?

I understand there are further settings in Inventory>Advanced but don't understand what to do if you want the product to work with BOTH quote pages (if customer is on site 1, use site 1, if customer is on site 2, use site 2)

Comments (17)

photo
1

We replaced the instances of %%page%% with the correct group name quote page and it will redirect to the correct one but not stay inside the domain (as it should on the WP plugin) ?

Is it supposed to be replaced or?

photo
1

You should not replace that. You should setup 2 WP integrations. The one that doesn't actually use the WP integration can be mostly blank (no need for the Client ID, Username, etc. You just need to specify that one with IO as checkout and make sure you choose the appropriate group name in the inventory column. In the site with WP, choose the group name in the IO plugin. Thanks.

photo
1

We still can't get this to work. See images of current status:

photo
1

When the inventory is set individually on the integration section, both sites still go to the NON-WP quote form. When you set them to all, they both go to the WP quote form.

We can't seem to get them to work independently.

Please advise what should be set how in the screenshots??

photo
1

What link are you clicking on the brisbaneeventhire.com.au site that is taking you to the wrong quote page? I clicked on the Build a Quote link and got a different quote page than the one on your other site.

photo
1

Build a quote page works correctly > goes to Brisbane Event Hire group form. All good.

When you go to CART after adding items so either using the BOOK NOW button or the CHECKOUT button instead of taking you to the BEH quote form, it redirects to BJC form

photo
1

This all seems to work as it should when you start from the "build a quote" page which is the io_quote page.

io_quote (brisbane event hire) > io_quoteconfirm (brisbane event hire) > contract (shared).

As mentioned, it's only when you're on a product page and add to cart or try and book/checkout from there, that the flow breaks down

photo
1

Make sure your JS is using the correct identifier: name=Brisbane+Event+Hire instead of name=Brizzy+Jumping+Castles.

photo
1

In which file or page?

The checkout/add to cart calls on the %%page%% to bring the Brisbane+Event+Hire quote page to the cart. If you manually replace %%page%% with the correct quote form as we've done now, it works though I'm sure that breaks a number of things.

Where is the JS that needs to be updated and shouldn't the WP plug in automatically update it?

photo
1

I guess you are correct. The page variable should be properly replaced. Can you verify in the IO plugin in WP that you've selected the correct page group name?

photo
1

Yes. See attached.

In the shortcoder for io_cart, we updated %%page%% to Brisbane+Event+Rental as per screenshot.

But there is another instance of this in io_category_cart

Do we manually replace that too??

photo
1

Ideally, you don't replace those, but that should work. If you send an admin login to your WP site, I can take a look to see why it isn't filling the right page in. Thanks.

photo
1

The time picker also isn't pulling through ie. when on the quote page, say 1pm - 5pm is selected, on the quote confirm page it shows 10am - 2pm no matter what time was actually selected.

I don't believe anything there was touched?

photo
1

Is it always 1-5pm? Or is it just always different hours than what were selected? Does the lead hours in the backend match the selected hours or the quote confirm hours? I looked at a bunch of scenarios but could not find an issue. Can you give me a Lead ID that has the issue that I can test?

photo
1

We just did another test - Lead 3451299

On the quote page, we entered 9am, 31st May until 9am 1st June

On both the quote page and back end, the date (31st May) is correct but the time shows 10am - 2pm

photo
1

We will look at this. I think it's related to a new WP redirect feature.

photo
1

Morning...any updates on the time picker issue?

photo
1

When our developer compared the quoteme.js file on the demorentals site to ours, he said that this line is failing: jQuery(this).find('option:selected').attr('data-sunset').length>0

"If you take the line that is failing:

jQuery(this).find('option:selected').attr('data-sunset').length>0


and paste that into the console and hit enter, it throws an undefined error meaning it doesn't exist.

What he is trying to say is I want you to find the selected optioned with the attribute, "data-sunset" but at the top, he's not setting it properly.

So this line fails, then the next line is getting the state time from your option that is selected that has the attribute of "data-sunset"

I don't know what data-sunset is but it's not being set properly and so your start time isn't being picked up and defaulting to whatever it is. I also have no idea why surface would rely on start time."

photo
1

That shouldn't be an issue. I checked it.

photo
1

Was just following up on this.... Are things working properly for you or are you still having issues?

photo
1

Quote pages working ok now. Problem is we don't understand what we changed HA and the time thing has also resolved itself.

We'll open a new ticket if any issues from here on so this one can be closed:)

Thanks!

Replies have been locked on this page!