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

2 place pricing not working

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-13-2007, 09:42 AM
 
TToshi TToshi is offline
 

Member
  
Join Date: Oct 2007
Location: Los Angeles
Posts: 11
 

Question 2 place pricing not working

Hi all,
Please give me your idea how to fix this problem.
Take look attached image that shown 2 pricing tables.
You'll see different price top and bottom.
I have some color option that makes different price and only change top.
Is anyone know how to change price top and bottom.

Thank you.
Attached Thumbnails
Click image for larger version

Name:	wrong_pricing.jpg
Views:	118
Size:	52.1 KB
ID:	689  
__________________
Satomi

X-Cart Gold 4.1.9
Reply With Quote
  #2  
Old 12-13-2007, 09:46 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: 2 place pricing not working

Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:

http://forum.x-cart.com/showthread.php?t=23970

Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your question correctly. Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-13-2007, 11:32 AM
 
jdiehl jdiehl is offline
 

eXpert
  
Join Date: Dec 2003
Location: Kansas City, MO
Posts: 270
 

Default Re: 2 place pricing not working

Are you using identical code in both locations? I believe that the change is made via Javascript. If you notice in the code when the option is called a function is called which changes the display based of a object tag that is set in the code. The problem with this is that the Javascript will not change all instances of the object, it will always assume that there is only one object of the same name and will update the first it finds.

You will need to first change the object tag based off of how the javascript is finding it to make the change for one of the objects so that each is unique. Then second change the javascript that makes the change to make the change for both objects not just the one.
__________________
Jason Diehl

Finding Cures for Your Online Headaches: http://www.internetmedicineman.com/
Reply With Quote
  #4  
Old 12-13-2007, 02:09 PM
 
TToshi TToshi is offline
 

Member
  
Join Date: Oct 2007
Location: Los Angeles
Posts: 11
 

Default Re: 2 place pricing not working

Hi jdiehl,

Thank you for submit.
Yes, I see the javascript of :
/*
variants array:

But I don't know how to do fix this.
__________________
Satomi

X-Cart Gold 4.1.9
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 04:23 AM.

   

 
X-Cart forums © 2001-2020