# Help! Shopping cart based on AirDevs example

**URL:** <https://forum.bubble.io/t/help-shopping-cart-based-on-airdevs-example/36961>\
**Category:** Need help\
**Created:** [August 30, 2018, 8:13pm UTC](https://forum.bubble.io/t/help-shopping-cart-based-on-airdevs-example/36961 "2018-08-30T20:13:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kris](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kris](https://forum.bubble.io/u/kris)\
**Post date:** [August 30, 2018, 8:13pm UTC](https://forum.bubble.io/t/help-shopping-cart-based-on-airdevs-example/36961/1 "2018-08-30T20:13:34Z")

</div>

Hi all,

I recently found the AirDev example and copied the database types and structure. I also copied the “popup order” and put it in my header whenever the user clocks on the cart icon.

Here is the thread: [Releasing an example of a Shopping Cart built on Bubble](http://forum.bubble.io/t/releasing-an-example-of-a-shopping-cart-built-on-bubble/4123/6)

I am trying to use this as part of my header as it is always available on all pages with the cart button inside it of course.

When I go to one of the product pages “single-product” and press Add to cart / Legg til (norwegian) and then click on the cart icon in the header the prices dont update and show price and total price. However, when I clikc the - or the + icon it does what it is supposed to, calculate the prices.

Cant figure out what I am doing wrong to not make the initial add to / legg til cart workflow make the calculation?!? ☹

Hope to get some assistance here.  
Username: user  
Password: 123

> **[Bubble Editor - umapro](https://bubble.io/page?type=page&name=index&version=test&id=umapro&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Psssst @vlad 😛

Best,  
Kris

---

<div class="post-metadata">

**Author:** ![seanhoots](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/seanhoots/32/12224_2.png) [@seanhoots](https://forum.bubble.io/u/seanhoots)\
**Post date:** [August 30, 2018, 9:33pm UTC](https://forum.bubble.io/t/help-shopping-cart-based-on-airdevs-example/36961/2 "2018-08-30T21:33:06Z")

</div>

Hey @kris,  
Lucky you I’m implementing a [shopping cart site](https://freshlysfarms.bubbleapps.io/version-test/produce) loosely base on the AirDevs widget so I was able to follow your workflows.  
After about 30minutes of debugging i think i’ve fixed your issue for you.  
Take a look and let me know if it’s the desired behaviour.

Below is the change i made. I can’t read norwegian but it works (so who cares 😄 )

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/e/a/ea26d0bf8d4c6a46114f26e33ac0ab73d9c5099f.png)

---

<div class="post-metadata">

**Author:** ![kris](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@kris](https://forum.bubble.io/u/kris)\
**Post date:** [August 31, 2018, 5:32am UTC](https://forum.bubble.io/t/help-shopping-cart-based-on-airdevs-example/36961/3 "2018-08-31T05:32:42Z")

</div>

Wow, what a guy! Thanks yes it is now working 😃

I cant thank you enough, so I suggest that Bubble implements a points system for forum people and they could cash out in real cash once in a while! Top score for you!

Kris

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [November 8, 2018, 8:19pm UTC](https://forum.bubble.io/t/help-shopping-cart-based-on-airdevs-example/36961/4 "2018-11-08T20:19:44Z")

</div>

This topic was automatically closed after 70 days. New replies are no longer allowed.
