News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Edit product - Problem on Prices display

Started by meriturva, November 18, 2011, 13:04:28 PM

Previous topic - Next topic

meriturva

When i edit a product i get always problems on the "Product pricing" section:

<br /><b>Notice</b>:  Undefined index:  costPrice in <b>/administrator/components/com_virtuemart/views/product/tmpl/product_edit_information.php</b> on line <b>186</b><br />

actually i checked and the array: $this->product->prices is empty.
I use the version: 2.0.0-RC-2M

any way to fix it?

Thanks.
Meriturva

Cleanshooter

I doubt the product->prices array is empty... how are you showing it's contents? 

Where is the "Notice" displaying?  Do you have debug turned on for VM?

I ask because I can not replicate this issue please try and provide more information on how you are encountering the issue.
- Cleanshooter

meriturva

i checked the $this->product->prices just with a var_dump on php.
About the Notice yes i have the messages enabled on my server just beacuse i cannot save prices on product...but i found why!

If you deselect "show price" option on configuration->prices section then you cannot edit anymore prices on products.
i think that it is not correct...i have situation where i have to update prices and just would like to hide prices on frontend for a short time.
what do you think?

Meriturva