- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
I have the same question as mentioned in below post, and creating new one since it's pretty old and recommendation is not clear or may be I couldn't get it.
what I have done:
I tried persisting the product id and each categories in a cookie which stores the product id and category mapping in a JSON object. On the order confirmation page, I have product id details and I can look up the product category information based on the persisted values. However, I'm wondering what type of data type in AS should I use in order to read this value.
Basically, I will populate subtotal of each category (lets say 2 products were purchased of the same category, I will sum them up) and we will not have the details about how many categories user may purchase.
{
'category1': 5000.
'category2': 2000
...
}
OR, is there a easy way to solve this problem?
Copyright All Rights Reserved © 2008-2023