Developer forum

Forum » Development » Ecom Price without VAT

Ecom Price without VAT


Reply
Are there DwTags available for:

orderline unit price without VAT? <!--@Ecom:Order:OrderLine.UnitPrice--> but then without the VAT
orderlink total price without VAT? <!--@Ecom:Order:OrderLine.TotalPrice--> but then without the VAT


Niek


Replies

 
Reply
Hi,

Using the tag <!-- @DwTemplateTags --> (remove white spaces) you will get a listing of all available tags in the template.
 
Note:  You have to use the tag within the context you are looking for, ie place it inside the loop where ypu need the tag. 

Trick!  Only list one product on the page when using this tag!

In your case - if I remember correctly, just add WithoutVAT at the end of the two tags you listed.

David
   
Reply
hi, 
thanks..tag was visible in DwTAgs but not in refencelist
Niek

 
Grant Menzies
Reply

Hi there!
Just gonna awake this old post :)

In my Order notification I am showing the individual price of an order within Ordelines:

<!--@Ecom:Order:OrderLine.UnitPrice.PriceWithoutVATFormatted-->

This returns the price of that unit without VAT. Directly after this I would like to show the total price (e.g the customer has ordered 2 of these units.

I have tried the following code:

 
<!--@Ecom:Order:OrderLine.TotalPrice.WithoutVAT-->
<!--@Ecom:Order:OrderLine.TotalPrice.PriceWithoutVATFormatted-->

 

But it's not returning any values

What am I missing here?...

 

 

 
Mikkel Ricky
Reply

You should use @Ecom:Order:OrderLine.Price which supports Price tag extensions.

Best regards,
Mikkel

 

 
Grant Menzies
Reply

That did the trick.

For some reason I assumed I would need to use TotalPrice instead of Price here. 

Thanks for the help!

 

 

 

 

You must be logged in to post in the forum