Download & Extend

Change the second message "cart" to something like "Item(s) added to cart"

Project:Ubercart AJAX Cart
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi, love the module, keep up the amazing work!! Is there an easy way to change the second pop-up message... when someone adds an item the second message simply says "cart"... can we change it to something like "item(s) added to cart"? Thanks!!

Comments

#1

plato1123,

I am not sure if your request will make the final version, but if you can't wait, then you can easily change the 2nd message title to your liking in uc_ajax_cart.module, near or at line 287:

    'CART_OPERATION' => t('Cart'),

Regards,
BigMike

ps. Yes I know if it bad practice to modify core/module code.

EDIT: Sorry for not fully trouble shooting this, but this CART_OPERATION message is used for other actions such as when items are removed from the cart. Therefore my simple recommendation is no good. Sorry.

#2

I appreciate the suggestion, I did change that to "item(s) added to cart"... maybe "cart updated" would make more sense. Thank you!!!!