Hi Mark,
I need an option for clients where:
(My silly little algorithm for it)
If product_in_stock > 1 then
display Add to Cart
else
display request stock
(yes i am aware it's a million times more complicated than that)
I know this isn't related in any way to your module, but my issue is this:
Now that I have applied your MOD to my site I need to know where this code will have to be inserted relevant to your MOD.
My guess is in:
ps_product_attribute.php
Around line 394 where this code is found:
// Add button for Add to Cart
$columns--;
if (USE_AS_CATALOGUE != '1') {
//print($_SESSION['auth']['show_prices'] );
$colcount += $columns;
My concern is that I only have the one "add to cart" button at the bottom of my table list of children, so in a scenario where at least one of the children has stock and at least one doesn't I guess I would then need two buttons at the bottom, one for "add to cart" and a second one for "request stock".
And then not related to your mod in:
shop.product_details.php
Do you think there is any other file I should need to modify too?
Seeing as I don't allow customers to add to cart when they are not in the details of the product itself I think that would be it.
Any advice you could give me here would be VERY much appreciated.
The idea behind this is that if an item is out of stock, instead of simply being notified when it comes back into stock the "request stock" button would then grab the productID and quantity requested and send an email off to the administrator (cc'd to the user) requesting it to be ordered in. And then notify can still be used to inform the customer that it has arrived.
I know you are, obviously, a very busy guy but in terms of feedback and assistance on this forum you have been a shining star. Even if you could just point me in the right direction I would really greatly appreciate it, if you are (like all of us) stripped for time and cannot help then thanks anyway for everything else you've done.
Much appreciated.
Ruby
http://www.productionkit.co.za