Displaying products and prices in a specified period
Author: John S.
Visited 1728,
Followers 1,
Shared 0
A possibilito to have a product displayed in a specified period.
Should be used to have pages with products that is not always awailable.
You specify a start date and an end date for that product, and then it will only be visible in that period. Then You don't have to keep track of what products You have to remove from displaying - it goes automatically. The product shall not be removed - only set as "not visible" - maybe the product will be awailable at a later time.
It would also be a good thing, if the pricing could be set by date.
E.g. : Price xxxx.xx until xx.xx.xx thereafter xxxxxxxxx.
This would be very useful when You have products that will occasionally be on offer.
Kind regards
John
Posted on the
Author
It is the visibility that is the most important.
On the product You can ( will be able to ) specify a from-date/time and a to-date/time. ( and maybe a text to show when outside this period ) If a product has not a such period specified, , then nothing special should happen about this product else some extra code will be written to this product, when the page is built.
It should be something like : when a product has a display-period, then the X5 writes some extra code to that product, with the checking on date/time for this product. If the test is false, then the product is not displayed - the visibility is set to "not visible". It will be OK if the space is used ( You see a "blank" area where the product should have been - maybe a userdefined text instead ).
This should be relatively simple.
If You clever people have a smarter solution then it will be great.
Kind regards
John