Pricing rules and session variables
Is it possible to create a pricing rule which checks for 2 session variables and adjust the pricing for the product accordingly?
EG. I register a code in the session, done through a module which also registers a productid and uid.
The module checks if the code is valid, this means uid is valid and the product is valid and not sold out.
If the code is valid it is registered in the session.
No problem thus far, now I want to use the pricing rule to give 100% discount based on the code being present and the product not being sold out. But how can I access the session variables in the pricing rules?