Hi All,
This was a popular implementation on versions 8 and 9 but it has not transferred over to version 10 very well because of the use of realtime stock.
After some playing around and a bit of tweeking I have managed to get it to work on version 10. The main differences are that the real time stock will not work in the push button grid but will work on single choice items. Therefore this will still require you to publish to web each time to get the out of stock buttons on the web site.
Attached in a zip file are the amended templates. The changes are not detailed in this thread as they are too complex to add here. I have therefore given an overview of them below:
actinic_main.php - Save this file into C:\Program Files\Actinic v10, it is worth saving a copy of the original actinic_main.php in case you decide to go back.
The following templates all need adding in, but please note you may need to amend these slightly depending on your layout:-
Add To Cart Button Image - The change here allows you to have 2 styles of cart button depending on whether it is for the push button grid or the single item choice. The extra variable here is CartButtonGridImage which is my small Add to Cart button(button_buy_small.gif) for the push button grid.
Push Button Grid - This adds the extra information for the actinic_main.php to create the out of stock buttons. Also, the extra section on the end changes the preview mode layout. If this extra section on the end is not included the 'New Order Tab' will crash and close Actinic and you will also see errors on your preview pages on the content tab.
Standard Component Layout - This is a minor change to stop actinic crashing in preview mode.
The extra images needed wil be:
button_buy_nostock.gif - Out of Stock image
button_buy_invalid.gif - Option not available image
button_buy_small.gif - Push button grid button
Once all this is done you will need to close actinic and then re-open it to get the changes to work.
If anyone needs any further explaination please ask, but please beware these changes are not for the novice user and you will need to have a good understanding of actinic
Enjoy!
This was a popular implementation on versions 8 and 9 but it has not transferred over to version 10 very well because of the use of realtime stock.
After some playing around and a bit of tweeking I have managed to get it to work on version 10. The main differences are that the real time stock will not work in the push button grid but will work on single choice items. Therefore this will still require you to publish to web each time to get the out of stock buttons on the web site.
Attached in a zip file are the amended templates. The changes are not detailed in this thread as they are too complex to add here. I have therefore given an overview of them below:
actinic_main.php - Save this file into C:\Program Files\Actinic v10, it is worth saving a copy of the original actinic_main.php in case you decide to go back.
The following templates all need adding in, but please note you may need to amend these slightly depending on your layout:-
Add To Cart Button Image - The change here allows you to have 2 styles of cart button depending on whether it is for the push button grid or the single item choice. The extra variable here is CartButtonGridImage which is my small Add to Cart button(button_buy_small.gif) for the push button grid.
Push Button Grid - This adds the extra information for the actinic_main.php to create the out of stock buttons. Also, the extra section on the end changes the preview mode layout. If this extra section on the end is not included the 'New Order Tab' will crash and close Actinic and you will also see errors on your preview pages on the content tab.
Standard Component Layout - This is a minor change to stop actinic crashing in preview mode.
The extra images needed wil be:
button_buy_nostock.gif - Out of Stock image
button_buy_invalid.gif - Option not available image
button_buy_small.gif - Push button grid button
Once all this is done you will need to close actinic and then re-open it to get the changes to work.
If anyone needs any further explaination please ask, but please beware these changes are not for the novice user and you will need to have a good understanding of actinic
Enjoy!
Comment