E!Bazar and shopping cart not updating for anonymous and authenticate users

17 posts / 0 new
Last post
serge
serge's picture
E!Bazar and shopping cart not updating for anonymous and authenticate users

Hi,
For some reasons shopping cart doesn't reflect what is in the cart for authenticate users or anonymous users.
The admin can see it (of course for the entire site).
Do you know what may have caused this to happen? The cart only shows ($0.00) even if a user add the product on the cart.
Thanks!

Serge

support
support's picture
HI there Serge:

HI there Serge:

We have made a fix on the Shopping Cart a while ago that created that issue. Here is how to fix it.

1 - As admin, hover the Cart Button on the menu.
2 - Click the edit View link.
3 - Expand the third column of options in the View Edit panel.
4 - Add a new field (if it is not there) named Commerce Order: Order ID . If it is there, just edit it.
5 - Set it to "Provide default value" and select "Current user's cart order ID".
6 - Apply and Save the View.

Best!!!!

alex.m
alex.m's picture
I have problem too

I have problem too

already add until number 4.

But i don't understand number 5

Do you have any screen shot to setting up for the fix. Because my cart already 4 items but when i open is empty. Please advise step by step using screen shot. Thanks in advance.

support
support's picture
Hi there Alex:

Hi there Alex:

Sorry for the delay, you post was missed in this thread!

Once you have just added the Field, click it to edit and the first section of the popup is where you need to set Step #5.

Read carefully, it is right there.

Best!

wolbol
wolbol's picture
Found this but still not working

I found were fix step number 4. It is not in the 'field' section but in the contextual fields section. Here is the direct link for anyone looking for this: admin/structure/views/nojs/config-item/shopping_cart/block_1/argument/order_id

Still shopping cart not working as designed. Even with 10 products in cart, total amount in top bar says 0,0

Please provide a solution for this.

Maybe it's useful to put the fix for the shopping cart in a 'sticky' part on the forum as anyone who buys a shopping theme will be needing this fix.

wolbol
wolbol's picture
Fixed

Add permission for users to view product of any type fixed it. You can close this for me.

wolbol
wolbol's picture
Not working for me - help needed

I tried to apply above fix but it's not working. Added the field but cannot find the options that you describe. Can I add a screenshot here? The only options I get are: create a label, exclude from display and link this field to...

wolbol
wolbol's picture
Fixed

Close

serge
serge's picture
Great, thanks!

Great, thanks!
I found something else fishy which I don't understand. On the permission page the "view any product of any type" is checked off for both anonymous and authenticate users but there's warning that says Give trusted roles only, this permission has security implications. My question why is this checked off for these roles? I'd expect anything with warning to only be attributed to admin.
If unchecked the cart wouldn't show the price in the cart.
What do you think?

support
support's picture
Hi there Serge:

Hi there Serge:

Honestly, If you do not enable this permission, no anonymus user can see your products. Neither search engines... most of all. So I gess it is only Setteable as a Permission to not start publishing products and making them visible by default.

Best!!!

sakar
sakar's picture
while adding the product page should not get refreshed.

HI,
I have tried multiple modules like "commerce add to cart" and "ajax add to cart".

But they all for basic commerce shopping cart and not working for ebazar-shopping cart.

I want some solution for our ebazar shopping cart.

Whenever I clicked on “Add to cart ” button page is refreshed .
While adding the product to ebazar- shopping cart page should not get refreshed.

So want that page should not get refreshed and page level should be same.

support
support's picture
Hi there Sakar:

Hi there Sakar:

It may be confusing about this, but there are 2 "Ajax add to cart" module for Drupal Commerce. Honestly, I don't know the difference:

- https://www.drupal.org/project/commerce_ajax_cart

and

- https://www.drupal.org/project/dc_ajax_add_cart

Anyway, once you enable the one you are trying, ensure to go to the Store -> Products -> Product Types and go to Manage Display. There, edit the settings of the Add to Cart Form. It should be there where you select the Asynchronous feature.

Let me know.

Best!!!

alex.m
alex.m's picture
I still don't get it. Btw my

I still don't get it. Btw my cart is weird with order show "5 item" when i look at cart only showed "1 item" how to fix? Please Reply ASAP. Because so late reply from doublethemes. Thanks.

support
support's picture
Hi there Alex:

Hi there Alex:

Please send me your site temporary admin account to support at doublemthemes.com

I'll do it for you ASAP.

Best!!!

alex.m
alex.m's picture
already email to support At doublethemes.com

also i have trouble with my cart since i change the folder name. Support haven't answer my question from the last time. How i configure when i change the template folder? Please info me step by step. Thanks.

support
support's picture
Hi there Alex:

Hi there Alex:

Not sure which is your last question. If it is the Step #5, this is the place http://postimg.org/image/8f14c9se5/

Now, if you changed theme folder, ensure to cleanup all the Caches., but other that strictly renaming everything, just try to maintain the same name and only change theme name in the .info file or create a sub theme.

Let me know.

Best!!!

Best!!!

Aniruddha
Aniruddha's picture
Hello,

Hello,

I see my installation passes all the steps noted in your answer on "Fri, 11/21/2014 - 08:34" from support but the button still does not work. Could you please help me with this? Thanks.

Log in to post comments