Pop Up Alert

Get help with nopcart formatting or style related issues.

Moderators: Koibito, Stefko, Randy

Re: Pop Up Alert

Postby Randy » Fri Feb 22, 2008 1:34 pm

Look in nopcart.js at the bottom of the AddToCart function:

Code: Select all
   if ( DisplayNotice && notice!='')
          alert(notice);


However when you disable the notice, you should have some indication that the item has been placed in the cart, or they will be ordering dozens -- one for each click of the buy button, as they say "this @#$%%#@* thing doesn't work!"

It was placed there for a reason.

Randy
Randy
Guru
 
Posts: 1511
Joined: Tue Apr 22, 2003 12:21 pm
Location: Thunder Bay, Ontario

Re: Pop Up Alert

Postby Koibito » Fri Feb 22, 2008 1:36 pm

The first part of your nopcart.js file has a description of all the standard options:

Code: Select all
// * DisplayNotice: true/false, controls whether the user is provided ||
// with a popup letting them know their product is added to the cart ||
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA


Return to Help: Formatting and Style

Who is online

Users browsing this forum: No registered users and 1 guest

cron