Public Access
fix: repair contact flow and buy flow targets
- Buy Now product IDs aligned to the Odoo shop (54/55/56), matching odoo/upsell.html - support.html contact form: rewire from dead ODOO4projects.com/website/form endpoint to n8n CRM webhook; remove /web/csrf_token prefetch; show success only on res.ok (previously always showed 'submitted' even when nothing was delivered) - /contactus links (footer nav, Schema contactPoint, order widget fallback, trial email) retargeted to support.html#contact; canonical/og:url corrected to /support.html - Custom Quote and footer contact handlers hardened with res.ok checks - buyNow basket target verified: 20.odoo4projects.com/shop/post_basket (200)
This commit is contained in:
1 parent
04d39157b8
commit
354799b9ca
5 files changed
+31
-22
No files matched your search
@@ -846,7 +846,8 @@ var si = 0,
|
||||
requirements: requirements,
|
||||
area: 'quote'
|
||||
}))
|
||||
}).then(function() {
|
||||
}).then(function(r) {
|
||||
if (!r.ok) throw new Error('bad status ' + r.status);
|
||||
customQuoteForm.style.display = 'none';
|
||||
document.getElementById('customQuoteSuccess').style.display = 'block';
|
||||
submitBtn.textContent = 'Submit Request';
|
||||
@@ -904,7 +905,8 @@ var si = 0,
|
||||
requirements: text,
|
||||
area: 'message'
|
||||
}))
|
||||
}).then(function () {
|
||||
}).then(function (r) {
|
||||
if (!r.ok) throw new Error('bad status ' + r.status);
|
||||
form.reset();
|
||||
submitBtn.disabled = false;
|
||||
showStatus("Thanks! We'll get back to you shortly.", false);
|
||||
|
||||
Reference in new issue
Block a user