On my previous version of the shop (1.2.7) in combination with attribute stocks I was able to add a little text behind the actual attributes in the product info page.
Example
Size:
Small [In stock]
Medium [Available att supplier] (<- Not as much text in swedish
)
This was done by editing/adding the following code to: includes/modules/pages/product_info/main_template_vars_attributes.php
Code:
if ($products_options->fields['quantity'] > 0) {
$products_options_array[] = array('id' => $products_options->fields['products_options_values_id'],
'text' => $products_options->fields['products_options_values_name'] .' [ '. TEXT_ATTRIBUTES_IN_STOCK . ' ]');
} else {
$products_options_array[] = array('id' => $products_options->fields['products_options_values_id'],
'text' => $products_options->fields['products_options_values_name'] .' [ '. TEXT_ATTRIBUTES_NOT_IN_STOCK . ' ]');
}
This was something that I found very useful as customers knew what to expect when it comes to delivery time even before adding the product to the cart.
Anyone who has implemented something like this to stockAttribute3.01?
Bookmarks