VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: gcarne on March 26, 2014, 16:05:54 PM

Title: Custom Fields Plug-ins Stockable variants moves ADD-TO-CART fields
Post by: gcarne on March 26, 2014, 16:05:54 PM
Joomla 2.5.19
VM 2.0.20b
Php 5.5.9

When creating a Custom Field with plug-in and stockable variant, and applying this to a parent/child combination, the tree fields "Add to Cart", "plus-minus-sign" and "quantity field" are shifted to the opposite order and somewhat squeezed together. It is still working, but not looking good.

Attached Pic_1 is without the custom field and Pic_2 is after applying a plug-in stockable custom field.

Is there a solution?


[attachment cleanup by admin]
Title: Re: Custom Fields Plug-ins Stockable variants moves ADD-TO-CART fields
Post by: gcarne on March 27, 2014, 23:27:07 PM
HELP ?

Does anyone know what happened to my nice template when using stockable plug-ins? It looked ok before using the custom field, and now it is so that I cannot publicize it. I even tried a new fresh and unmodified template (designed by as templates) and it is definitley the custom field creating the problem.

For those that can write code (I cannot): The problem is in stockable.php line 399.  This line shifts the fields around and sets quantity to "undefinable" which I assume is a non integer and not zero, perhaps blank.