Bootcamp page: Reserve your seat now buys the bootcamp (product_id 12)

The three Reserve-your-seat CTAs posted to /support.html#contact. They now
run the same checkout path as the main page's Buy Now: a new page-local
static/buy.js mirrors script.js buyNow() (POST basket to
20.odoo4projects.com/shop/post_basket, clear=1, UTM cookies appended) and
binds .btn-buy via one delegated click handler. CTAs become
.btn-buy[data-id=12]; label unchanged. script.js and the homepage untouched.

The Price-and-booking section keeps a second, smaller link to
/support.html#contact so readers who have questions still have a fallback.
This commit is contained in:
oliver committed 2026-10-24 22:03:38 +00:00
1 parent b69e4ceaed
commit 45a3cc5398
2 files changed
+84 -3

No files matched your search

+5 -3
View File
@@ -527,7 +527,7 @@
<span class="hero-stat"><i aria-hidden="true">&#10003;</i> One year of Odoo Community Edition included</span>
</div>
<div class="hero-actions">
<a href="/support.html#contact" class="btn btn-brass btn-lg">Reserve your seat</a>
<a href="javascript:void(0)" class="btn btn-brass btn-lg btn-buy" data-id="12">Reserve your seat</a>
</div>
</div>
</section>
@@ -546,7 +546,7 @@
</p>
<p class="bc-subline">Three months. Ten hours of teaching. One system that runs your company.</p>
<div class="bc-action">
<a href="/support.html#contact" class="btn btn-brass btn-lg">Reserve your seat</a>
<a href="javascript:void(0)" class="btn btn-brass btn-lg btn-buy" data-id="12">Reserve your seat</a>
</div>
</div>
</section>
@@ -715,9 +715,10 @@
alumni community and the expert review.
</p>
<div class="bc-action">
<a href="/support.html#contact" class="btn btn-brass btn-lg">Reserve your seat</a>
<a href="javascript:void(0)" class="btn btn-brass btn-lg btn-buy" data-id="12">Reserve your seat</a>
</div>
<ul class="bc-related">
<li><a href="/support.html#contact">Questions before you book? Talk to us first</a></li>
<li><a href="/odoo-hosting-2027.html">What hosting looks like after your year with us</a></li>
<li><a href="/support.html">What our support does and does not cover</a></li>
<li><a href="/blog/posts/community-vs-enterprise-cost.html">What Community costs compared with Enterprise</a></li>
@@ -813,6 +814,7 @@
<div class="fcopy">Copyright &copy; ODOO4projects LLC</div>
</div>
</footer>
<script defer src="/static/buy.js"></script>
<script defer src="/static/lang.js"></script>
</body>
</html>