News:

Looking for documentation? Take a look on our wiki

Main Menu

Multiple Prices - ordering

Started by mark R, November 19, 2014, 22:42:48 PM

Previous topic - Next topic

mark R

Hi All,

I am trying to set up a sales price which is only valid to a specific date.

I have set this up on my localhost (dev platform),but when i try to set up my host(live) it doesnt work the same.

I have noticed the following errors in the admin log :- could this be related

Undefined offset: 0 in /administrator/components/com_virtuemart/models/product.php on line 1682
Undefined offset: 0 in /administrator/components/com_virtuemart/models/product.php on line 1683
Undefined offset: 0 in /administrator/components/com_virtuemart/models/product.php on line 1684
Undefined offset: 0 in /administrator/components/com_virtuemart/models/product.php on line 1685
Undefined offset: 0 in /administrator/components/com_virtuemart/models/product.php on line 1686

product.php
line 1682 $pricesToStore['override'] = (int)$data['mprices']['override'][$k];
line 1683 $pricesToStore['virtuemart_shoppergroup_id'] = (int)$data['mprices']['virtuemart_shoppergroup_id'][$k];
line 1684 $pricesToStore['product_tax_id'] = (int)$data['mprices']['product_tax_id'][$k];
line 1685 $pricesToStore['product_discount_id'] = (int)$data['mprices']['product_discount_id'][$k];
line 1686 $pricesToStore['product_currency'] = (int)$data['mprices']['product_currency'][$k];

Any ideas would be much appreciated.

Many thanks
Mark
Seek and ye shall find.........
4 VM sites and counting

mark R

Sorry forgot to mention I am running VM 2.6.6 (php 5.3.29)
Seek and ye shall find.........
4 VM sites and counting

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/