Need help on Product pricing rules
Hi,
I'm stuck, hope someone can help me.
I want to create a product pricing rule. The price of a particular product should be divided by two on the 30th off june.
I followed this instruction video: http://www.drupalcommerce.org/videos/tutorials/drupal-commerce-datebased....
What I've got so far:
{ "rules_halveer_prijs_lidmaatschap_op_30_juni" : {
"LABEL" : "Halveer prijs lidmaatschap op 30 juni",
"PLUGIN" : "reaction rule",
"REQUIRES" : [ "commerce_line_item", "commerce_product_reference" ],
"ON" : [ "commerce_product_calculate_sell_price" ],
"DO" : [
{ "commerce_line_item_unit_price_divide" : {
"commerce_line_item" : [ "commerce-line-item" ],
"amount" : "2",
"component_name" : "base_price",
"round_mode" : "0"
}
}
]
}
}
This works but I can't get the date filled in.
I've chosen Add Action - Data Comparison and then site:current-date, and value is greater than and after that i'm stuck. There is no data selector for a specific date.
regards, Pip