Hello Folks,
I've been offline for awhile due to a processor meltdown!!!!
Thanks to midwestkel for his good work in providing an update for 1.0.6 while I was offline.
only 2 files were modified in the classes directory - ps_product.php and ps_product_attribute.php
One line in one of these files was incorrect but I have modified this and provided an updated language file
I've also altered shop.product_details.php to provide for better handling of child products when on the child product page,
I hope this helps.
Am I blind, how do you add a child product to the main product to make this mod work?
Thanks
Andrew
Adding child products is explained in other forums and is in the documentation, if you are still having problems after reading them then pm me.
I've done those changes and i'm so glad, Thankyou.
.... but I need help, I want to add a field that shows the number of stock (on the child list) for each child-product and to hide the price also (that is the same for all of them).
at last I need to show a feedback message "your product has been added to Cart" when click to the Add to Cart and rederect the user to the page of the listed products of the parent category, or, if that is so complicated (the message etc), simply to show the page of cart every time that click on add to cart. (i use the last version of VirtueMart)
Someone can tell me how?
Eda
You can turn off the prices in VM in the configuration page, adding a field can be done to show stock levels. I'll look into it and post an answer when I have done.
You can turn off the page redirection, it does mean changing a few files. Somewhere in this post I have a link to how I turned it on, check that out and remove the mods I made.
You could instead modify the ps_cart.php file in classes. at the end of the add, updtae and delete functions replace the
return true;
with
$vmLogger->tip( 'Cart updated' );
return True;
This will display Info: Cart updated at the top of the page
Hope all this helps
[attachment cleanup by admin]