Skip to content

Magento // Extension // Availability Time Lapse — mirrored from Bitbucket.

Notifications You must be signed in to change notification settings

sotastudio/Mage.Ext.AvailabilityTimeLapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Availability Time Lapse

What does it do?

Small workaround for a Trusted Shops issue concerning products with high delivery times and a fixed availability time lapse.

The module helps guys and shops out there dealing with seasonal stuff like plants and seeds in order to come up with Truseted Shops' specifications of the shop certification.

Products, depending on seasonal availability, may have problems regarding the Trusted Shops customer protection.

By using this module, you have the possibility to define time-lapses and let your (customers) customers know whether the relevant product are saleable or not.

How to use?

The module already injects a template file where you can achieve most stuff. But if you are planning to remove the cart button for example, you can even more by implementing the Block Class into other views by doing the following magic:

<?php $atl_className = Mage::getConfig()->getBlockClassName('sota_atl/view'); ?>
<?php $atl_block = new $atl_className(); ?>
<?php if ($atl_block->isApplicable() && !$atl_block->isWithinAvailability()): ?>
	<p>Crazy stuff hapening here…</p>
<?php endif; ?>

Dependencies

Known problems

Just one: please adjust your attribute set name in /app/code/community/SotaStudio/AvailabilityTimeLapse/sql/availabilitytimelapse_setup/mysql4-install-1.0.0.php on line 27. It defaults to "Default", but maybe it is called "Standard" or something else within your project.

About

Magento // Extension // Availability Time Lapse — mirrored from Bitbucket.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages