Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Joomla Virtuemart Template - DarkMart (SKU# FLEX-00011)

TOPIC: Undefined problem

Undefined problem 11 years 4 weeks ago #3683

the number of product in the product page default ofcourse "1", before vm 2.0.20b update.After update that's show "undefined" and shopping cart not working when undefined.If you clicked ( when selected undefined) it says "product added" but when you looked shopping cart you see "shopping cart is empty".
However if you clicked - ( thne number of product) it will "1". When selected "1" it works.Please fix this.
Attachments:
The topic has been locked.

Undefined problem 11 years 3 weeks ago #3701

Have passed this to the developer - but also have you a url where we can see this?

Thanks
The topic has been locked.

Undefined problem 11 years 3 weeks ago #3706

Hi,

This is a Virtuemart bug. It does give this bug in the original Virtuemart as well.
Please see this forum topic; forum.virtuemart.net/index.php?topic=108768.0

The solution has been provided in the (Reply #11) there.
Regards.

Forum Support.
The topic has been locked.

Undefined problem 11 years 3 weeks ago #3758

Thank you. Problem solved.
I changed plugins/vmcustom/stockable/stockable.php line 399.
var quantity = $(".addtocart-bar .quantity-input").val();
I replaced that to
var quantity = $.parseJSON(\'' .json_encode((int)$this->product->min_order_level). '\') ;
        if (quantity == 0){
            quantity = 1;
         }
and problem solved.
The topic has been locked.

Undefined problem 11 years 3 weeks ago #3760

Thanks for letting us know -
topic closed
The topic has been locked.
Time to create page: 0.131 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo