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

Button Problem

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-27-2008, 09:15 AM
 
fropirate fropirate is offline
 

Member
  
Join Date: May 2008
Posts: 24
 

Exclamation Button Problem

Hi everyone,

I recently changed the image files that make up the buy now and add to wish list buttons. All I did was recolor the old buttons. Now when I go to my store, I am unable to click the first set of buttons on a page.

For example, the featured products on the home page. The buttons for the first product listed do not work, but the buttons for the second one do. In the product pages, the add to cart button and wishlist button do not work either.

I'm havign a hard time trying to figure out what went wrong. Any advice would be greatly appreciated! Thanks!


Here is a link to the store (still under construction):

http://coppercakestands.com/coppercakestands/store/home.php
__________________
X-Cart Gold 4.1.10
www.oldworlddistributors.com - Live Store
www.coppercakestands.com - Live Store
--
My Website - www.frodesigns.com
Reply With Quote
  #2  
Old 06-30-2008, 05:48 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Button Problem

It has to have been something else you did. Are you sure you haven't changed something else recently?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 06-30-2008, 06:06 AM
 
fropirate fropirate is offline
 

Member
  
Join Date: May 2008
Posts: 24
 

Default Re: Button Problem

No, the only thing that I've been doing recently is messing with the color scheme.
__________________
X-Cart Gold 4.1.10
www.oldworlddistributors.com - Live Store
www.coppercakestands.com - Live Store
--
My Website - www.frodesigns.com
Reply With Quote
  #4  
Old 06-30-2008, 06:10 AM
 
fropirate fropirate is offline
 

Member
  
Join Date: May 2008
Posts: 24
 

Default Re: Button Problem

Internet Explorer gives me this error:

Line: 289
Char: 2
Error: 'document.orderform_1_1212151648' is null or not an object
Code: 0

when i try to click the first buy now button on the home page
__________________
X-Cart Gold 4.1.10
www.oldworlddistributors.com - Live Store
www.coppercakestands.com - Live Store
--
My Website - www.frodesigns.com
Reply With Quote
  #5  
Old 06-30-2008, 12:37 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Button Problem

Yeah it is saying the first document.orderform is undefined in Firefox. Is there any way you can check the dates on any of your files and see if they were changed recently? Check your site with FTP and what date the files have on them. It really looks like something else what changed besides a image.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #6  
Old 07-01-2008, 04:36 AM
 
fropirate fropirate is offline
 

Member
  
Join Date: May 2008
Posts: 24
 

Default Re: Button Problem

Any idea of what files I should be looking at? We've been updating the site fairly regularly, and it's just now getting near completion. Unfortunately I'm not entirely sure if this happened before or after I tried to change the color of the buttons.
__________________
X-Cart Gold 4.1.10
www.oldworlddistributors.com - Live Store
www.coppercakestands.com - Live Store
--
My Website - www.frodesigns.com
Reply With Quote
  #7  
Old 07-09-2008, 12:15 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Button Problem

I would start with products.tpl and products_t.tpl depending on whichever you are using. In fact, if you change the setting in admin you can test which of these may have a problem. Also look at featured.tpl, common_js.tpl and bascially every other template and php file you have modified recently, probably working backwards from the latest modification until you find the problem.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
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 10:03 PM.

   

 
X-Cart forums © 2001-2020