X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   discount price incorrect (https://forum.x-cart.com/showthread.php?t=4009)

fearthespear 08-16-2003 12:12 PM

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

Parrot 08-16-2003 04:21 PM

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.

fearthespear 08-16-2003 06:17 PM

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

fearthespear 08-16-2003 06:25 PM

Parrot I didnt think about it but you probably used the upgrade patches instead of reinstalling everything right?

Parrot 08-16-2003 06:29 PM

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.

fearthespear 08-16-2003 10:23 PM

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

Parrot 08-17-2003 05:28 AM

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. 8O

fearthespear 08-17-2003 08:47 AM

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.


All times are GMT -8. The time now is 08:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.