| Testimonials |
|
AJAX CartPlugin for Actinic -
All good & working-! Please add me to your newsletter list for any future actinic plugins! Darren
AJAX CartPlugin for Actinic -
Thanks for your help Malcolm. I’m pleased with the finished result. All that’s left I think is some colour tweaking which is by no means a priority at the moment. Chris
AJAX CartPlugin for Actinic -
Nice work – very good. Feel free to use satellite.ie as a reference site once it goes live. Tom |
The Stock Level plugin modifies the standard Actinic code to allow the display of stock levels on the section page which contains a series of Single Product Pages. Normally the stock level only displays for the section page that contains the product so if you are using single product pages and have added the modification from the KB to display limited product details, price and buy now button to the section containing the product you cannot display the stock level.
This plugin provides the ability to display the stock level of any product that is held in any sub section of the current section by generating a list of all products and stock that can be found.
The Actinic stock level works by holding the stock in files tied to specific sections within the Actinic site and uses an Ajax call to access the stock levels for products in the current section.
This plugin adds the ability to get stock from multiple sections, but is specificallly aimed at Single Product Pages as on large sites trying to get too much information from an Ajax call will slow down the web pages.
The plug in also provides an additional feature for the stock display to compensate for the changes to the setting of the Suspend Level affecting the displayed value of stock.
If you change the suspend level to any value other than one (1) then the current version of Actinic will adjust the stock level displayed by the setting in the suspend level. The stock level is increased for suspend levels less than 1 and decreased for suspend levels greater than 1 .
The plugin compensates for this and displays the true stock level, a simple change to the stock display layout will generate a message 'Can be back ordered ' once stock reaches zero whilst the buy now button remains on screen until the suspend level is reached. The orders will continue until the stock level reaches the suspend level set for that item. The plugin compensates for the specific suspend level set for a particular product raher than just using a global setting.
For example if you have 35 in stock and set a suspend level of say -99 so that you can continue to take orders then the store will display 135. This effect occurs whenever the suspend level is changed from 1, a suspend of 0 will increase stock level by 1 and a positive suspend level such as 2 will decrease the displayed stock level by 1.
In this example the actual stock level is -2 with a suspend level set at -999.
Without the modification the stock level would display as 998.
See a live example here
In this example the actual stock level is 100 with a suspend level set at -999.
Without the modification the stock level would display as 1100.
See a live example here
The new updated version of the stock plug-in includes the ability to display the real time stock levels for choices where they are used as components, i.e. they are linked to a hidden product which is stock controlled.
There are two possibilities for using choices in this way either as choices on a single product where the main product is not under stock control but the total stock is the total stock of all the choices, for example a T Shirt where each colour is handled as a separate stock item. The product itself does not really have a stock level it is just the choices. In this scenario the main product is set up without stock control and it is only the choices that display stock levels and subsequently control the ability to purchase the item..
Can also display stock in the search results
Secondly there is the case where the choices are actually options in addition to the main product, here the stock levels are independant and the ability to purchase a specific combination depends on the stock level of the main product and the choice. In this case both the main product and the choices are all set up with stock control.
The plug-in can be used for both possibilities and the Actinic cart handles the situation correctly