added upsell
This commit is contained in:
@@ -120,7 +120,7 @@
|
||||
<div class="summary-container">
|
||||
<h2>Check and Upgrade Your Plan</h2>
|
||||
<div class="subtitle">
|
||||
Review your current Odoo configuration and choose an upgrade option below.
|
||||
Choose an upgrade. With this upgade you only pay for the <b>remaining days</b> of your current contract. Due to technical reasons, the <b>total price</b> will be included in the payment link sent to your email. If you don’t want to upgrade, simply don’t complete the payment. Current yearly prices are listed on our homepage, and new features will apply when you extend your contract next time.
|
||||
</div>
|
||||
|
||||
<div class="grid">
|
||||
@@ -175,7 +175,7 @@
|
||||
<script>
|
||||
// Configuration
|
||||
const webhookUrl = "https://002-001-5dd6e535-4d1c-46bc-9bd9-42ad4bc5f082.odoo4projects.com/webhook/0c8536be-d175-4740-8e78-123159193b23";
|
||||
const webhook_buy = "https://002-001-5dd6e535-4d1c-46bc-9bd9-42ad4bc5f082.odoo4projects.com/webhook/buy"; // <-- easy to configure
|
||||
const webhook_buy = "https://002-001-5dd6e535-4d1c-46bc-9bd9-42ad4bc5f082.odoo4projects.com/webhook/2366cc41-bfd9-41c0-b9b4-bea1e60726f1";
|
||||
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
const uuid = params.get("uuid");
|
||||
@@ -237,8 +237,8 @@
|
||||
// Button event listeners with product_id mapping
|
||||
document.getElementById("upgradeRiseBtn").addEventListener("click", () => buyProduct(4));
|
||||
document.getElementById("upgradePowerhouseBtn").addEventListener("click", () => buyProduct(5));
|
||||
document.getElementById("addDomainBtn").addEventListener("click", () => buyProduct(100));
|
||||
document.getElementById("addBackupsBtn").addEventListener("click", () => buyProduct(101));
|
||||
document.getElementById("addDomainBtn").addEventListener("click", () => buyProduct(9));
|
||||
document.getElementById("addBackupsBtn").addEventListener("click", () => buyProduct(10));
|
||||
|
||||
loadData();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user