Shopping Cart: Not Passing Session Variables

I am pretty happy about how far I got today in my shopping cart journey. I almost have it. I am not sure if it is a bug with session variables or not. I can add items to the cart and it adds a line item in my cart but no content. So it seems like it’s not pulling the data from my repeat region and adding it to a session variable.

This is my Add to Cart Button:

<div class="d-block" dmx-repeat:repeattickets="playTickets.data.query1">
											<button id="btnAddToCart" class="btn btn-secondary btn-sm btn-block mb-1"
												dmx-on:click="cart.upsert({ticket_id: ticket_id, ticket_name: ticket_name, ticket_qty: '\'ticket_qty + 1\'', ticket_price: ticket_price},{});modalShoppingCart.show()"><i
													class="fas fa-ticket-alt"></i>&nbsp;
												{{ticket_button}}</button>
										</div>

Link: https://boxoffice.wlstudiotheatre.ca/

Again, I am using session storage instead of local storage.

I’m so close to getting this stage working!

Community Page
Last updated: