Forums / All Other Contributions/Addons / Profit Markup/Margin Calculator

Profit Markup/Margin Calculator

Views: 45,874

Results 41 to 60 of 157
23 May 2006, 11:00 PM
#41
farrukh avatar

farrukh

Zen Follower

Join Date:
Dec 2003
Posts:
233
Plugin Contributions:
0

Profit Markup/Margin Calculator

wtashby:

I can't do a fresh install. I've already added other mods, and have my template designed, and all my boxes the way I want them. A fresh install would almost (not quite, but almost) put me back to ground zero.

What i meant was to create a fresh install on your localhost. Just to try the mod out. I think whats causing the problem is that you have other mods and somehow, there is a conflict with either one of them.

Since my Zencart install is fresh, the mod is running smoothly.

23 May 2006, 11:00 PM
#42
farrukh avatar

farrukh

Zen Follower

Join Date:
Dec 2003
Posts:
233
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

plowe1:

regardless, i have now fixed it lol ;)

remove $products_tax, form this line on 99 or 70 depending on file

function display_price($products_price, $products, $quantity = 1) {

to make it read:

function display_price($products_price, $quantity = 1) {

Which file did you edit over here ?

23 May 2006, 11:03 PM
#43
plowe1 avatar

plowe1

Zen Follower

Join Date:
Nov 2005
Location:
Manchester, UK
Posts:
95
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

/admin/include/classes/currencies.php

BUT

i do apologise, it gets rid of the error, but messes up the figure under price/sale/special bit

so i guess somewhere wher it figures that bit out, would need to add the $products_tax bit in ... ???

wot u rekon???


https://www.ice4urmotor.co.uk
https://www.ice4urmotor.com

Car Audio, Entertainment & Security Specialists

23 May 2006, 11:07 PM
#44
plowe1 avatar

plowe1

Zen Follower

Join Date:
Nov 2005
Location:
Manchester, UK
Posts:
95
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

Client side, it is all fine......

it just alters the admin figures for Price/Special/Sale

from the correct figure, to a larger figure.....

eg my amplifier was £229.99 and in admin it is now 3,425.45 but client side figure is correct @ 229.99


https://www.ice4urmotor.co.uk
https://www.ice4urmotor.com

Car Audio, Entertainment & Security Specialists

23 May 2006, 11:08 PM
#45
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

Farrukh:

What i meant was to create a fresh install on your localhost. Just to try the mod out. I think whats causing the problem is that you have other mods and somehow, there is a conflict with either one of them.

Since my Zencart install is fresh, the mod is running smoothly.

Hee hee,

My files are on my local server. Not live yet. Maybe I should re-upload the origionals, and follow your alteration included in the readme file. See if that works.

I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses
using version 1.5.7-06232020

23 May 2006, 11:12 PM
#46
farrukh avatar

farrukh

Zen Follower

Join Date:
Dec 2003
Posts:
233
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

plowe1:

/admin/include/classes/currencies.php

BUT

i do apologise, it gets rid of the error, but messes up the figure under price/sale/special bit

so i guess somewhere wher it figures that bit out, would need to add the $products_tax bit in ... ???

wot u rekon???

But why did you edit currencies.php, this file isnt included in my mod.

Do you have any other Mods/Contributions installed in your Zencart

23 May 2006, 11:16 PM
#47
plowe1 avatar

plowe1

Zen Follower

Join Date:
Nov 2005
Location:
Manchester, UK
Posts:
95
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

yes, i have:

Cross Sell V1.3.01
Super Orders
Google Sitmap
Froogle Feeder
Refferals 1.3.01
Scrolling Specials
MSN Messenger Plugin
User Tracking
Ih2

and i edited it, as it whas where the error was being reffered to


https://www.ice4urmotor.co.uk
https://www.ice4urmotor.com

Car Audio, Entertainment & Security Specialists

23 May 2006, 11:18 PM
#48
farrukh avatar

farrukh

Zen Follower

Join Date:
Dec 2003
Posts:
233
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

plowe1:

yes, i have:

Cross Sell V1.3.01
Super Orders
Google Sitmap
Froogle Feeder
Refferals 1.3.01
Scrolling Specials
MSN Messenger Plugin
User Tracking
Ih2

and i edited it, as it whas where the error was being reffered to

Then it is one of the mods which is conflicting with Profit Markup Mod.

23 May 2006, 11:19 PM
#49
whocaresanyway avatar

whocaresanyway

Suspended

Join Date:
May 2006
Posts:
66
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

Super Orders is gonna be the problem,
that and maybe cross sell,

23 May 2006, 11:21 PM
#50
farrukh avatar

farrukh

Zen Follower

Join Date:
Dec 2003
Posts:
233
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

plowe1:

yes, i have:

Cross Sell V1.3.01
Super Orders
Google Sitmap
Froogle Feeder
Refferals 1.3.01
Scrolling Specials
MSN Messenger Plugin
User Tracking
Ih2

and i edited it, as it whas where the error was being reffered to

Hi plowe

Can you upload your admin/includes/function/function_prices.php file or just attach it here

23 May 2006, 11:47 PM
#52
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

plowe1:

regardless, i have now fixed it lol ;)

remove $products_tax, form this line on 99 or 70 depending on file

function display_price($products_price, $products, $quantity = 1) {

to make it read:

function display_price($products_price, $quantity = 1) {

I too just removed the $products_tax from line 90 in currencies.php, and as far as I can tell, that fixed the error I was having before. I haven't seen any other errors yet that may be caused by this fix (I don't use any taxes) but if I do, I'll post them as well.

Now, I'll just patiently wait for the addition of being able to apply a global markup, one time, for all products.:thumbsup:

I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses
using version 1.5.7-06232020

24 May 2006, 12:00 AM
#53
plowe1 avatar

plowe1

Zen Follower

Join Date:
Nov 2005
Location:
Manchester, UK
Posts:
95
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

right,

i have kept my modified version of curencies.php uploaded,

and the net prices in the admin side are multiplied by 1750%

so, i changed my tax rate from 17.5% to 1.175%

this fixed the figures in the admin side,

however, it has changed clientside figure to net * 1.175

so it is definately to do with this somewhere....

TAX !!! more hassle than the government think!! ;)

but i need it to work with tax, so dont suggest gettin rid of Tax..


https://www.ice4urmotor.co.uk
https://www.ice4urmotor.com

Car Audio, Entertainment & Security Specialists

24 May 2006, 12:04 AM
#54
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

I certainly wouldn't make a suggestion like that, hee hee. I have to answer to Uncle Sam too!:blink:

I only need to charge taxes to anyone that purchased from my home state. So, I will eventually need to fix that as well. If you happen to figure out the fix for that, could you please share it with us?

Thanks.

I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses
using version 1.5.7-06232020

24 May 2006, 12:07 AM
#55
plowe1 avatar

plowe1

Zen Follower

Join Date:
Nov 2005
Location:
Manchester, UK
Posts:
95
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

i "think" that /amin/includes/functions/functions_price.php is missing a /100 somewhere where it tells the admin the price it should be displaying in the admin products view

any ideas where it should go ???


https://www.ice4urmotor.co.uk
https://www.ice4urmotor.com

Car Audio, Entertainment & Security Specialists

24 May 2006, 12:21 AM
#56
plowe1 avatar

plowe1

Zen Follower

Join Date:
Nov 2005
Location:
Manchester, UK
Posts:
95
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

i have checked my admin/specials page, and the prices there too are showing as multiplied....

so i think the answer must lie somwhere with tax display, and multiplication of the tax amount.....

ie a product less tax is 1.70

add tax * 17.5% = 2 (correct) = 1.70* 1.175 = 1.9975 ( rounded to 2 )

but is showing in admin as 29.75 incl tax,

so the figure is showing in admin as ( the product less tax * 17.5)

so 1.7 * 17.5 = 29.75 (which is incorrect!!)

Am i making sense?


https://www.ice4urmotor.co.uk
https://www.ice4urmotor.com

Car Audio, Entertainment & Security Specialists

24 May 2006, 4:16 PM
#58
jford avatar

jford

Zen Follower

Join Date:
Mar 2006
Posts:
162
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

HELP! Once I get all the files uploaded, I lose my admin and just get a blank screen!! Why is that? It is a fresh install on the newest version of zen...HELP!

24 May 2006, 5:26 PM
#59
farrukh avatar

farrukh

Zen Follower

Join Date:
Dec 2003
Posts:
233
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

jford:

HELP! Once I get all the files uploaded, I lose my admin and just get a blank screen!! Why is that? It is a fresh install on the newest version of zen...HELP!

Guys, You should use a File Comparison software before installing any Mods.

There is one product which is the best in this, Beyond Compare. Buy it, its worth it.

If you had any mods installed prior to installing this mod, then there must have been a conflict

NOTE:
Always, try new mods on a Test Site before using it on your live site.

24 May 2006, 5:40 PM
#60
jford avatar

jford

Zen Follower

Join Date:
Mar 2006
Posts:
162
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

don't worry--it was installed on a test site and there was another mod installed on it so i am redoeing everything right now to see if that was why i lost the admin screen