Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

'Add to Cart' Alert Message

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #51  
Old 06-04-2011, 04:40 PM
 
welly welly is offline
 

eXpert
  
Join Date: Mar 2011
Location: UK
Posts: 209
 

Default Re: 'Add to Cart' Alert Message

I haven't tested this exhaustively, but I think I have the alert working on category pages with featured products.

Step two of the installation suggests adding the following lines to service_head.tpl or service_css.tpl (depending on which iteration of the mod you install):

{if $main eq "product" || $main eq "search" || $main eq "products" || $main eq "catalog"}
<link href="{$SkinDir}/modules/Cart_Alert/css/shadowbox.css" type="text/css" rel="stylesheet">
<script src="{$SkinDir}/modules/Cart_Alert/shadowbox.js" type="text/javascript"></script>
{include file="modules/Cart_Alert/cart_alert.tpl"}
{/if}

(note that in the above, the extra condition I've added for the manufacturer list is missing as it is a cut-n-paste from the installation txt file only).

I have added these lines to the top of the skin/common_files/customer/main/products_list.tpl file, and in the service_head.tpl file I have changed the first line of the above snippet to read:

{if $main eq "product"}

It seems to work on the store I'm building at the moment, but please take the usual precautions if you try it on yours just in case I've broken something without knowing (yet).

Welly
__________________
X-Cart Business 5.3.6
Various add-ons

www.traininglines.co.uk
Reply With Quote
  #52  
Old 06-15-2011, 08:11 AM
 
floracal floracal is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 45
 

Default Re: 'Add to Cart' Alert Message

Quote:
Originally Posted by JWait
OK.. I made some changes and now it works sweeeeet!

Added $main eq "featured" to the list of "pages" to fix the problem of it working sometimes and sometimes not, and modified the instructions. The attached file is for version 4.4.x (tested on 4.4.3).

Works great JWait great job. Works great on 4.4.3.

Thank you.
__________________
X-Cart GoldPlus v4.7.12 PHP 7.4
X-Cart reBOOT (reDUX) Responsive Template
BCSE Paypal-DPM - BCSE Smooth Checkout
Reply With Quote
  #53  
Old 07-01-2011, 11:42 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: 'Add to Cart' Alert Message

Just wondered if there is anyway way to make the pop up just stay on for a few seconds and then disappear just to show customer item was added to cart
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #54  
Old 09-01-2011, 10:46 AM
 
graffix graffix is offline
 

Advanced Member
  
Join Date: Jan 2011
Posts: 39
 

Default Re: 'Add to Cart' Alert Message

Man, I have this mod working, but it WILL NOT display my upsell products for anything... It always displays the next three products in line after the one I choose. Any suggestions anyone?
EDIT**
Actually, its always displaying the first three products from that category, really odd. I have entered products into related products inside the admin panel...this is really starting to get to me.
__________________
version 4.4.3
X-payments
sales and stats
Reply With Quote
  #55  
Old 04-30-2012, 04:45 PM
  swartzieee's Avatar 
swartzieee swartzieee is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 58
 

Default Re: 'Add to Cart' Alert Message

I just downloaded this and attempted to install. I am running the Ability Template from xcartmods.co.uk. I do not get a popup at all. Any suggestions?
__________________
4.7.11
BuckeyeFanApparel.com
Reply With Quote
  #56  
Old 04-30-2012, 05:09 PM
 
bitofeverything bitofeverything is offline
 

Member
  
Join Date: Sep 2008
Posts: 23
 

Default Re: 'Add to Cart' Alert Message

check for any javascript errors in firefox/firebug
__________________
Version 4.2.2 [linux] Adult Toy Superstore
Version 4.3.0 [linux] Coochy Outlet
Reply With Quote
  #57  
Old 04-30-2012, 05:13 PM
  swartzieee's Avatar 
swartzieee swartzieee is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 58
 

Default Re: 'Add to Cart' Alert Message

I do not see any errors??
__________________
4.7.11
BuckeyeFanApparel.com
Reply With Quote
  #58  
Old 04-30-2012, 05:35 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: 'Add to Cart' Alert Message

If you are using ability, make sure any files that need to be changed are also change in the ability folder
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #59  
Old 04-30-2012, 05:38 PM
  swartzieee's Avatar 
swartzieee swartzieee is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 58
 

Default Re: 'Add to Cart' Alert Message

Quote:
Originally Posted by Duramax 6.6L
If you are using ability, make sure any files that need to be changed are also change in the ability folder

I think that is my problem. I am not sure of all what files need to be edited. Guess I need to wait for Phil to respond or someone who has this mod working on Ability. What files of your Smart Template did you have to edit? I am sure Smart and Ability are pretty close.
__________________
4.7.11
BuckeyeFanApparel.com
Reply With Quote
  #60  
Old 04-30-2012, 06:27 PM
 
bitofeverything bitofeverything is offline
 

Member
  
Join Date: Sep 2008
Posts: 23
 

Default Re: 'Add to Cart' Alert Message

you have unterminated string literal js errors being generated.
__________________
Version 4.2.2 [linux] Adult Toy Superstore
Version 4.3.0 [linux] Coochy Outlet
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:18 AM.

   

 
X-Cart forums © 2001-2020