Message after "Your cart is empty. Proceed to checkout"

Problems installing or using the NOP Design Free Shopping Cart that do not fit into one of the above categories.

Moderators: Koibito, Stefko, Randy

Message after "Your cart is empty. Proceed to checkout"

Postby sandrat » Thu Nov 18, 2010 10:47 am

Hi there!

I have my NopCart running and I am happy with it. (Thank YOU all for that!) :D

Buttttt... there is always a "but". I found out that when the cart is full, after the "your cart is full, please proceed to checkout" window, there is an extra empty window message (and I really hate it).

I searched the forum, I am not sure if I did it the right way, and I could not find anything to solve that.

Ok, straight to the point: is there anyway to take that empty message window out? Can anybody give me a hand on this? :cry:

Thank you
:roll:
sandrat
WebMaster
 
Posts: 28
Joined: Thu Sep 17, 2009 3:33 pm

Re: Message after "Your cart is empty. Proceed to checkout"

Postby Stefko » Fri Nov 19, 2010 1:52 pm

Sure, in the nopcart.js file do a search for alert(notice);


Replace
Code: Select all
alert(notice);
with
Code: Select all
if (DisplayNotice && notice != "") alert(notice);
KFL Technologies
Web-Enabled Solutions
e-Commerence Solutions
Stefko
Contributor / Guru
 
Posts: 833
Joined: Wed Sep 18, 2002 1:11 am
Location: Wichita, KS

Re: Message after "Your cart is empty. Proceed to checkout"

Postby sandrat » Fri Nov 19, 2010 10:54 pm

You are lovely!!
It works perfectly.

Thank you, thank you!!
:wink:
Sandra
sandrat
WebMaster
 
Posts: 28
Joined: Thu Sep 17, 2009 3:33 pm


Return to Help: Cart / General

Who is online

Users browsing this forum: No registered users and 1 guest

cron