Developer forum

Forum » Ecommerce - Standard features » Identify the productype service in the basket

Identify the productype service in the basket

Kim Søjborg Pedersen
Reply

Hi 

How do I identyfi a product of type service in the basket?

The case is this...
I would like to change the checkout information, if the customer only have products of type either "Service" or "Giftcard" in the basket. In my case it don't make sense to present infomation about shipping and shop delivery with more, because Service and Giftcard is not a physical item to be shipped.

The giftcart have OrderLineType 6 and the "Service" have OrderLineType 0, but thats the same as the default product. 

If anyone has done something similar, good advice is welcome :)

Best regards
Kim

Replies

 
Oleg Rodionov
Oleg Rodionov
Reply
This post has been marked as an answer

Hi Kim,

Ecom:Product.Type tag is available during rendering cart orderline and could be used in your case, probably.

BR, Oleg QA

Votes for this answer: 1
 
Kim Søjborg Pedersen
Reply

Hi Oleg,

Of course, thank you for helping

 

You must be logged in to post in the forum