Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
Playing around with tea commerce and the test boat-site :)
I'm struggeling a bit trying to understand how priceing and currencies works.
Umbraco setup:
Code:
@using TeaCommerce.Umbraco.Configuration.Variants.Models @using TeaCommerce.Umbraco.Web @using Umbraco.Core.Models @using Umbraco.Web @using System.Linq; @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ long storeId = long.Parse( productPage.GetPropertyValue<string>( "store", true ) ); <p>@TC.GetPrice(storeId, Model.Content.Id.ToString()).WithVatFormatted</p> }
But after i deleted the priceJMD from the test setup I can't get my new DKK price to show?
Any sugestions?
Hi Mads,
TC.GetPrice() will try to return a price with the same currency as your current order. Your active order might still have the old JMD currency :)
You can remove your order by clearing the Tea Commerce cookie or by calling TC.removeCurrentOrder() in the browsers JavaScript console.
Dooh!!! I Feel a kind of stupid now :D
Thanks Brian :D
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting price shows 0$
Hi
Playing around with tea commerce and the test boat-site :)
I'm struggeling a bit trying to understand how priceing and currencies works.
Umbraco setup:
Code:
But after i deleted the priceJMD from the test setup I can't get my new DKK price to show?
Any sugestions?
Hi Mads,
TC.GetPrice() will try to return a price with the same currency as your current order. Your active order might still have the old JMD currency :)
You can remove your order by clearing the Tea Commerce cookie or by calling TC.removeCurrentOrder() in the browsers JavaScript console.
Dooh!!! I Feel a kind of stupid now :D
Thanks Brian :D
is working on a reply...