Developer forum

Forum » Feature requests » Testing Future-Dated Pricing

Testing Future-Dated Pricing

Carolee Schuck Dynamicweb Employee
Carolee Schuck
Reply

Hi,

Would it be possible for you to provide a feature that takes several inputs (below) and outputs the price (including PriceId) that would be selected by the platform?

Inputs:

  • "Effective" date, or the date on which I want to evaluate pricing
  • Customer number or user group
  • Product
  • Quantity
  • Any (or all) other relevant EcomPrices fields

As for the interface, it seems that something like the bulk product editor might be appropriate so that one or several sets of criteria could be entered and evaluated.

This would be a big help in ensuring we're ready to go with a future-dated price changes and could be used both internally and by our clients.

Thanks for considering!

Carolee


Replies

 
Nicolai Pedersen
Reply

Good idea - we will add it to the list of ideas for price improvements.

You can in the frontend, add a querystring parameter ?OrderTime=<somedate> to set a future orderdate that will also find the future price - at least you can test that one thing then.

BR Nicolai

 
Carolee Schuck Dynamicweb Employee
Carolee Schuck
Reply

Great tip - thank you!!

 
Carolee Schuck Dynamicweb Employee
Carolee Schuck
Reply

Hi Nicolai, 

This doesn't seem to work as expected.

Below, you can see

  • The customer being impersonated, along with his price group
  • The price records in play
  • The order with and without the parameter

Am I missing something?

 

 

 
Nicolai Pedersen
Reply

Did you set the ordertime before creating the cart? Or after?

And how does the price look like on the product detail page after you set the ordertime?

 
Carolee Schuck Dynamicweb Employee
Carolee Schuck
Reply

In the original testing, I added the OrderTime when I got to the cart with products in it.

Now I've tried setting the OrderTime on the homepage, then searching - incorrect price in mini-cart.

When I arrive at the product detail page, the URL has lost the OrderTime parameter and the price is incorrect before and after I add the parameter.

Starting over from the homepage with the OrderTime, I search and go to the product list page.  The parameter drops from the URL and price is incorrect before and after.

 

 

 
Nicolai Pedersen
Reply

Hi Carol

Thank you for the answer. The ordertime will not stay in the URL - it will be stored in session on the visitor and retrieved from there.

Rarely used feature, so I might have some blanks - you also have to enable the checkbox below to allow for the feature to kick in.

 
Carolee Schuck Dynamicweb Employee
Carolee Schuck
Reply

That was the missing piece!