Author Topic: [SOLVED] A small fix for stockable.php for 1and1 hosting (VM 2.0.4)  (Read 781 times)

scornru

  • Beginner
  • *
  • Posts: 1
Hi,

With the stockable variant plugin (custom fields) and 1and1 hosting :
when editing a product, the custom field does not display the children, so you loose all your settings for that custom field.

The fix cannot be more simple, in stockable.php, function getChilds(), change :
Code: [Select]
$q = 'SELECT CONCAT (
with
Code: [Select]
$q = 'SELECT CONCAT(

Yes, only remove the space after CONCAT ! That's all !

Anyone knowing why the 1and1 SQL has such behavior ?

scornru