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

discount price incorrect

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-16-2003, 12:12 PM
 
fearthespear fearthespear is offline
 

Senior Member
  
Join Date: Apr 2003
Posts: 124
 

Default discount price incorrect

I need some help here. If I enter a product with a price of 35.00, then a discount of 10%. How does it come up with $38.00 as market price? How to fix this so xcart gets correct Prices?

this isreal annoying problem especially sinc eI noticed this after modifying the prices of most of my products.

Thank you
Reply With Quote
  #2  
Old 08-16-2003, 04:21 PM
 
Parrot Parrot is offline
 

eXpert
  
Join Date: Sep 2002
Location: MD USA
Posts: 350
 

Default

actually in the older versions 3.3.* and below, you have to work backwards with the market price. If the regular market price is $35 and you want to set your price at 10% off, you have to multiply 35 by .9 =$31.50 Then enter the $31.50 in the price and the 10 in the market price %


The latest version 3.4.* fixes this. Now you actually enter the prices and not the percentage. Much easier!

There are a lot of new features in the version 3.4.* that I have found to be very helpful.
__________________
Version: 4.4.2
Host: EWDhosting
Mods: BCSE
Reply With Quote
  #3  
Old 08-16-2003, 06:17 PM
 
fearthespear fearthespear is offline
 

Senior Member
  
Join Date: Apr 2003
Posts: 124
 

Default

Thanks alot Parrot!

Is it possible to install 3.4 and then just paste over the code(the modified code in the tpl files) in my 3.3.6 version to the new 3.4 version without any problems becuase I really would hate to remodify everything
Reply With Quote
  #4  
Old 08-16-2003, 06:25 PM
 
fearthespear fearthespear is offline
 

Senior Member
  
Join Date: Apr 2003
Posts: 124
 

Default

Parrot I didnt think about it but you probably used the upgrade patches instead of reinstalling everything right?
Reply With Quote
  #5  
Old 08-16-2003, 06:29 PM
 
Parrot Parrot is offline
 

eXpert
  
Join Date: Sep 2002
Location: MD USA
Posts: 350
 

Default

Actually I haven't tried the update kits (too many mods). I have heard of too many problems using the kits, so in order to keep my live site LIVE, I simply do a full install with a separate mysql db and make the changes to the templates. I keep track of my changes to make this easier. When I am all done, I then test and switch over as the live site and take down the prior site.
__________________
Version: 4.4.2
Host: EWDhosting
Mods: BCSE
Reply With Quote
  #6  
Old 08-16-2003, 10:23 PM
 
fearthespear fearthespear is offline
 

Senior Member
  
Join Date: Apr 2003
Posts: 124
 

Default

Parrot,

When you make the changes to the new installation (3.4.4) so it looks like your previous cart (3.3.7) do you just take the code from the 3.3.7 tpl files and paste it in the appropriate 3.4.4 tpl files?

I noticed 3.4.4 tpl code is a bit different, just wondering what you did.

Thanks
Reply With Quote
  #7  
Old 08-17-2003, 05:28 AM
 
Parrot Parrot is offline
 

eXpert
  
Join Date: Sep 2002
Location: MD USA
Posts: 350
 

Default

Basically, when I make a change, I print out (copy paste to notepad) the template. I highlight the changes made. When I upgrade, I take a look at the new template and see if the changes are needed (sometimes if it's a fix, the change has been made already - ie market price).

I then read over the code and find the appropriate location for the changes. You do need to know how to read PHP. I may not be able to write PHP from scratch, but I have gotten familiar with the syntax and method of code. Typically I can follow what the code is doing and how. I can write a few lines of code, but simply can't write a full program or add a full mod.

So, once you locate the lines you need to change, you send it. Remember, since you are working on a non-live site, if you make a mistake in a template, you can always revert the template back to it's original.

It simply is not smart to make major changes to a live cart. Therefore, now in 3.4.* there is a WONDERFUL feature where you can click to take the cart down. Now when you make changes to a live cart, you are not doing it while someone is shopping. I get a real laugh when ever I remember the time I was making major changes to the color scheme of the cart. While playing with the colors, and I mean really messing with them!, I found out later someone was actually shopping at the time! I giggle everytime I think about it! Imagine shopping on a site and the colors keep going wacko! Every few pages the whole color scheme completely changes! Oh that must have been really weird. I wonder if she thought it was on her computers end!?

There were times when I mistakenly made the text the same color as the background! OH! suddenly no text! Text pretending to be ghosts! Then suddenly the text comes back in a different color! (snicker!!) I learned never run tests on colors on the live site! Test the color scheme first on the test site or you may have customers checking themselves into a rest home.
__________________
Version: 4.4.2
Host: EWDhosting
Mods: BCSE
Reply With Quote
  #8  
Old 08-17-2003, 08:47 AM
 
fearthespear fearthespear is offline
 

Senior Member
  
Join Date: Apr 2003
Posts: 124
 

Default

LOL Parrot that is hilarious, I was wondering about that too, I thought people might be shopping while I was doing this stuff LOL

But luckily (or unluckily) I don't have any customers yet.

Thanks for sharing your knowledge with me, I appreciate it.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:18 PM.

   

 
X-Cart forums © 2001-2020