Update for stock_by_attribute version 1.5.1, I found a small display issue with the way I implemented a new feature in the mod.
Until I finish the other things I want to do with the mod, here is the fix, replace one file and add one more option to the configuration table.
Replace the attributes.php with this one Attachment 12827 (unzip it).
Add the new option with this sql clip
Code:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Show original price struck through', 'STOCK_SHOW_ORIGINAL_PRICE_STRUCK', 'false',
'Show the original price (strike through) on product info page with attributes:',
'9',
'6',
NULL,
now(),
NULL,
'zen_cfg_select_option(array(\'true\', \'false\'),'
)
Bookmarks