Public Access
Bootcamp: hand cohort term + language to the basket (info field)
All three bootcamp pages (EN/DE/ES), every buy form: the basket line now carries info="Q1 2027, English" alongside product_id 12 and qty 1, the same field shape australia.html uses for location. Value verbatim on all three pages (the programme is delivered in English in every language). clear=1 / action / method / target / button labels unchanged. Verified end to end against the live shop: POST /shop/post_basket returns 303 -> /shop/checkout and /shop/cart shows product 12 at qty 1 with the info text rendered on the order line.
This commit is contained in:
1 parent
ada11e42cf
commit
b42f754525
3 files changed
+9
-9
No files matched your search
@@ -592,7 +592,7 @@
|
||||
</div>
|
||||
<div class="hero-actions">
|
||||
<form method="post" action="https://20.odoo4projects.com/shop/post_basket" target="_blank" class="plausible-event-name=Buy">
|
||||
<input type="hidden" name="basket" value='[{"product_id":12,"qty":1}]' />
|
||||
<input type="hidden" name="basket" value='[{"product_id":12,"qty":1,"info":"Q1 2027, English"}]' />
|
||||
<input type="hidden" name="clear" value="1" />
|
||||
<button type="submit" class="btn btn-brass btn-lg">Buy for 465.00 USD</button>
|
||||
</form>
|
||||
@@ -615,7 +615,7 @@
|
||||
<p class="bc-subline">Three months. Ten hours of teaching. One system that runs your company.</p>
|
||||
<div class="bc-action">
|
||||
<form method="post" action="https://20.odoo4projects.com/shop/post_basket" target="_blank" class="plausible-event-name=Buy">
|
||||
<input type="hidden" name="basket" value='[{"product_id":12,"qty":1}]' />
|
||||
<input type="hidden" name="basket" value='[{"product_id":12,"qty":1,"info":"Q1 2027, English"}]' />
|
||||
<input type="hidden" name="clear" value="1" />
|
||||
<button type="submit" class="btn btn-brass btn-lg">Buy for 465.00 USD</button>
|
||||
</form>
|
||||
@@ -794,7 +794,7 @@
|
||||
</p>
|
||||
<div class="bc-action">
|
||||
<form method="post" action="https://20.odoo4projects.com/shop/post_basket" target="_blank" class="plausible-event-name=Buy">
|
||||
<input type="hidden" name="basket" value='[{"product_id":12,"qty":1}]' />
|
||||
<input type="hidden" name="basket" value='[{"product_id":12,"qty":1,"info":"Q1 2027, English"}]' />
|
||||
<input type="hidden" name="clear" value="1" />
|
||||
<button type="submit" class="btn btn-brass btn-lg">Buy for 465.00 USD</button>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user