VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: ek378996 on August 15, 2012, 00:38:32 AM

Title: What is all this code when an item is added to my cart?
Post by: ek378996 on August 15, 2012, 00:38:32 AM


        Info: weigth_countries _weightCond orderWeight:0 method->weight_start: method->weight_stop: result:1
        Info: weigth_countries _nbproductsCond nbproducts:10 method->nbproducts_start:0 method->nbproducts_stop:0 result:1
        weigth_countries _orderamountCond cart_amount:8850 method->orderamount_start:0 method->orderamount_stop:0 result:
        weigth_countries _zipCond zip:19070
        Info: weigth_countries _weightCond orderWeight:0 method->weight_start: method->weight_stop: result:1
        Info: weigth_countries _nbproductsCond nbproducts:10 method->nbproducts_start:0 method->nbproducts_stop:0 result:1
        weigth_countries _orderamountCond cart_amount:8850 method->orderamount_start:0 method->orderamount_stop:0 result:
        weigth_countries _zipCond zip:19070

Title: Re: What is all this code when an item is added to my cart?
Post by: bytelord on August 15, 2012, 00:44:44 AM
Hello,

This is debug messages because you are login in frontend with an administrator user/shopper. If you login with a shopper this information will not be shown.
Also check on your BE if you enable debug messaging for all users.

Title: Re: What is all this code when an item is added to my cart?
Post by: ek378996 on August 15, 2012, 02:20:37 AM
Thanks for the response.  I have check the BE and I have it set to "No Debug" under Configuration > Shop.  It looks like it's only showing up for admin.  Which I don't mind but should the "No Debug" setting have turned it off?
Title: Re: What is all this code when an item is added to my cart?
Post by: bytelord on August 15, 2012, 02:47:40 AM
Hello,

for admin shoppers those messages is shown by default, there is no option to disable them except if you mess with the core (if i am not mistake).
Also if you haven't automatic shipment selected from the backend it is not show for admin that debug information in frontend ... but this is not a solution if you need automatic selection of shipment.