Checkout: Show message when successfully (or not) added image to basket ("Send user to cart when adding items?": deactivated)

Hänsel

Joined: 2008-11-16
Posts: 39
Posted: Fri, 2008-12-19 13:40

When I deactivate

Quote:
Cart Display Options

When a user adds an item to their cart you can have them redirected to show the cart contents, or have them stay at the same page.
Send user to cart when adding items?

and the Customer adds an item, image to the basket, there is (if I am not wrong) any information displayed, that the item is added successfully (or not). So the customer may be can't know, whether his image are added to the basket or not.

Is there somewhere a possibility (I can’t find) to activate such information?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-12-19 19:56

There's a message "{n} item(s) successfully added" when you don't direct the user to the cart.

I'll try to include a message too when you do redirect the user to the cart, too. That will be in the next version.

 
Hänsel

Joined: 2008-11-16
Posts: 39
Posted: Fri, 2008-12-19 20:33
Quote:
There's a message "{n} item(s) successfully added" when you don't direct the user to the cart.

Ok, I understand. I can't see this message anywhere appearing adding an image as a customer on my system. So, I add an image to my basket (as a customer), no message appears on my screen, so there is any information, that I as a customer just have added this picture successfully. The image is added to the basket, as I see then, when I click "View Cart". Do I have to add this - {n} item(s) successfully added - to a special place, so that the message will appear? Or is there anything else to do, to let this message display when an image is added successfully?

Quote:
I'll try to include a message too when you do redirect the user to the cart, too. That will be in the next version.

Ok. When I as a customer am leaded to the cart now, I can see there, whether the image / album I just added (respectively all added images of the current session) is really added, this is true, isn't it?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-12-19 20:42
Quote:
I can't see this message anywhere appearing adding an image as a customer on my system.

Quote:
Do I have to add this

No.
It's there, already.

 
Hänsel

Joined: 2008-11-16
Posts: 39
Posted: Fri, 2008-12-19 21:42

Thanks for the screenshot.

Ok, I see. This message is not displayed in my Gallery. So, I was wondering what I could do to display it. In the checkout po file this is existing: Item(s) added OK. This will be, what should work, I assume.

Could you tell me, in which file this message should be generated, where that code is to find? This, "block-checkout-ShowCart gbBlock" or this, "block-checkout-ShowCart" I can't find anywhere.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-12-20 01:09

theme->blocks->"cart info"

 
Hänsel

Joined: 2008-11-16
Posts: 39
Posted: Sat, 2008-12-20 20:59

Thank you for your efforts.

This doesn't help, the message doesn't appear yet, in the blocks is displayed permanently:

Quote:
Your Cart
[Translation error: Array ( [one] => You have %d item in your cart [many] => You have %d items in your cart [count] => [arg1] => ) ]

Ihr Warenkorb

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-12-20 22:25

Does it work for you in English? (works for me in English, I haven't tried any other lanugage)

 
Hänsel

Joined: 2008-11-16
Posts: 39
Posted: Sun, 2008-12-21 11:28

No, it doesn't, same error, same message.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2008-12-21 12:16

In fact, the message that's generating the error is nothing to do with the "Item(s) added" message so ... I'm confused.

In checkout/templates/blocks/ShowCart.tpl there is already this:

{if isset($status.checkoutSuccess)}
  <br>
  <h4 class="giSuccess">{g->text text="Item(s) added OK"}</h4>
  {/if}

which produces the "Item(s) added OK" message.

 
jbillings

Joined: 2009-11-12
Posts: 33
Posted: Tue, 2009-12-22 21:39

Hi,

I'm new to this group and trying to learn fast. I see a conflict with the GreyDragon theme and the basket module. When using GreyDragon the search button overlaps the cart button. Any ideas about how I/you could fix it?