News:

Support the VirtueMart project and become a member

Main Menu

Custom Fields Plug-ins Stockable variants moves ADD-TO-CART fields

Started by gcarne, March 26, 2014, 16:05:54 PM

Previous topic - Next topic

gcarne

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]

gcarne

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.