Hi..
VM 3.0.6.2
Joomla 3.4.1
vmuikit 2.0.14
vm productbuilder 3.0.3
When in Virtuemart editing or adding products I cannot save. When inspected with firebug I see a JS issue, so I guess my ask is how would you deal with this? there does not seem to be any issues up front, only in the admin and only when in products. All other ares of VM and J! works as normal.
JS error "Error: Syntax error, unrecognized expression: #mprices[product_price_publish_up][]-lbl"
This happens with Mac OS,
Safari 8.0.5
Firefox 36.0.4
Chrome 42.0.2
This is somewhere else on the threads as well...
I'm guessing this will be fixed in an update, but in the meantime this works:
In the [yoursite]/administrator/components /com_virtuemart/views/product/tmpl/product_edit_price.php file, change these lines:
<?php echo vmJsApi::jDate ($this->product->allPrices[$this->product->selectedPrice]['product_price_publish_up'], 'mprices[product_price_publish_up][]'); ?>
<?php echo vmJsApi::jDate ($this->product->allPrices[$this->product->selectedPrice]['product_price_publish_down'], 'mprices[product_price_publish_down][]'); ?>
to:
<?php echo vmJsApi::jDate ($this->product->allPrices[$this->product->selectedPrice]['product_price_publish_up'], 'mprices[product_price_publish_up][0]'); ?>
<?php echo vmJsApi::jDate ($this->product->allPrices[$this->product->selectedPrice]['product_price_publish_down'], 'mprices[product_price_publish_down][0]'); ?>
Or just add those zeroes in the end brackets, that's what does it.
You'll find the lines at about 144 and 147 respectively.
This topic is 3 topics below yours, I can't believe how you managed to overlook it;
http://forum.virtuemart.net/index.php?topic=129399.0
lol here are around 40-50 topics with all the time the same issue.
http://forum.virtuemart.net/index.php?topic=129537.0