Skip to content

Commit

Permalink
switch product id
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotmoon committed May 24, 2024
1 parent 0592500 commit 79f0d3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions site/src/Buy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,23 +116,23 @@ function trackBuy(button) {
<span :class="$style.subtitle">✅ Use on all your Macs<br></span>
<span :class="$style.small"><a href="/terms">Full license terms</a><br></span>
<span v-if="isLizhi" :class="$style.subtitle">Buy from Paddle<br></span>
<AaButton :class="$style.buybutton" @click="trackBuy('Paddle'); openPaddleCheckout(store.paddleProducts.value.popclip?.productId)" theme="brand"
<AaButton :class="$style.buybutton" @click="trackBuy('Paddle'); openPaddleCheckout(store.paddleProducts.value.popclip_lifetime?.productId)" theme="brand"
size="medium">
Buy with
<Icon size=18><CreditCard /></Icon>
<Icon size=18><Paypal /></Icon>
<Icon size=32><ApplePay /></Icon>
</AaButton><br>
<div :class="$style.prices">
<span v-if="store.paddleProducts.value.popclip?.isDiscounted" :class="$style.listPrice">{{ roundPrice(store.paddleProducts.value.popclip.displayListPrice ?? "") }}</span>
<span :class="$style.price">{{ roundPrice(store.paddleProducts.value.popclip?.displayPrice ?? "") }}</span>
<span v-if="store.paddleProducts.value.popclip?.isTaxed" :class="$style.tax">+ tax</span>
<span v-if="store.paddleProducts.value.popclip?.isDiscounted" :class="$style.listPrice">{{ roundPrice(store.paddleProducts.value.popclip_lifetime.displayListPrice ?? "") }}</span>
<span :class="$style.price">{{ roundPrice(store.paddleProducts.value.popclip_lifetime?.displayPrice ?? "") }}</span>
<span v-if="store.paddleProducts.value.popclip_lifetime?.isTaxed" :class="$style.tax">+ tax</span>
</div>
<div v-if="store.paddleProducts.value.popclip?.isDiscounted && store.paddleProducts.value.popclip?.message" :class="$style.priceMessage">
<span>{{ store.paddleProducts.value.popclip?.message }}</span>
<div v-if="store.paddleProducts.value.popclip_lifetime?.isDiscounted && store.paddleProducts.value.popclip_lifetime?.message" :class="$style.priceMessage">
<span>{{ store.paddleProducts.value.popclip_lifetime?.message }}</span>
</div>
<div v-if="store.paddleProducts.value.popclip?.coupon" :class="$style.couponInfo">
<span>{{ `Coupon "${store.paddleProducts.value.popclip?.coupon ?? ""}" applied` }}</span>
<div v-if="store.paddleProducts.value.popclip_lifetime?.coupon" :class="$style.couponInfo">
<span>{{ `Coupon "${store.paddleProducts.value.popclip_lifetime?.coupon ?? ""}" applied` }}</span>
</div>
<span :class="$style.subtitle">One-time purchase<br></span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion site/src/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"popclip_2year": {

},
"popclip": {
"popclip_lifetime": {
"fullPrice": 30,
"fullPriceCurrency": "USD",
"message": "New pricing - transitonal offer"
Expand Down

0 comments on commit 79f0d3a

Please sign in to comment.