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

Profit Markup/Margin Calculator

Views: 45,874

Results 21 to 40 of 157
23 May 2006, 10:02 AM
#21
farrukh avatar

farrukh

Zen Follower

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

Profit Markup/Margin Calculator

plowe1:

i did change define('TEXT_PRODUCTS_PRICE_MARGIN_GROSS', 'Gross Margin $:'); to be define('TEXT_PRODUCTS_PRICE_MARGIN_GROSS', 'Gross Margin £:');

but this wouldn't make a difference would it ???

can u paste a copy of your currencies.php so i can compare???

No it wont make a difference. It's just for Display.

Download my currencies.php file here:

Currencies.php

23 May 2006, 12:20 PM
#22
simon_m avatar

simon_m

New Zenner

Join Date:
Jan 2006
Posts:
71
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

Hi all

Sorry but did not go quiet on this topic.

Q, have you got it fixed simon ? no

The only thing I have been fixing is the whole of my shop as someone got in and changed 50 to 60 product prices by 50% so have not got to bed in 2 day as i am having to check aprrox 2,400 prices one by one and due to now sleep I then whent a droped the product table in the db.

only about 300 to 400 to go then sleeping for about 2 days.

simon

Zen Cart:1.3.0.2
MySQL:4.1.19-standard
Linux:2.6.14.2-ts.grh.mh.ht
PHP Version:4.4.2

23 May 2006, 6:59 PM
#23
ds515 avatar

ds515

New Zenner

Join Date:
Apr 2005
Posts:
6
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

I am also getting the "Missing argument 2 " error after installing this

23 May 2006, 8:45 PM
#24
ds515 avatar

ds515

New Zenner

Join Date:
Apr 2005
Posts:
6
Plugin Contributions:
0

Re: Profit Markup/Margin Calculator

I also notice that we can not input a price with a decimal we have to round to the dollar. When we try to enter say 1.09 then it goes to 109

23 May 2006, 8:48 PM
#25
farrukh avatar

farrukh

Zen Follower

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

Re: Profit Markup/Margin Calculator

ds515:

I also notice that we can not input a price with a decimal we have to round to the dollar. When we try to enter say 1.09 then it goes to 109

You have to download the latest version v1.11. This bug was fixed

23 May 2006, 10:18 PM
#26
wtashby avatar

wtashby

Totally Zenned

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

Re: Profit Markup/Margin Calculator

Does this mod Only work by updating each product indivudually, or, is there a way to enter One Markup Percent and use that for all products?

I have several thousand products, and this would take days, maybe weekds to update each product indivudually.:shocking:

I am also getting this error on my products listing in admin:

Warning: Missing argument 2 for currencies::display_price(), called in C:\Program Files\xampp\htdocs\store\admin\includes\functions\functions_prices.php on line 149 and defined in C:\Program Files\xampp\htdocs\store\admin\includes\classes\currencies.php on line 99
0 0 0 0
243 1207 1207

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

23 May 2006, 10:22 PM
#27
farrukh avatar

farrukh

Zen Follower

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

Re: Profit Markup/Margin Calculator

Presently its set to update the margins individually.

I'll think about the feature of defining it once for all products.

let me know how would you like it to work, since the cost wont be the same for all products and their markup

23 May 2006, 10:24 PM
#28
whocaresanyway avatar

whocaresanyway

Suspended

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

Re: Profit Markup/Margin Calculator

there is a module out there somewhere named quick_updates that will let you mark up up to 200 products at a time and you can sort by category or manufacturer

23 May 2006, 10:27 PM
#29
farrukh avatar

farrukh

Zen Follower

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

Re: Profit Markup/Margin Calculator

whocaresanyway:

there is a module out there somewhere named quick_updates that will let you mark up up to 200 products at a time and you can sort by category or manufacturer

So would like to apply 'only' the markup for multiple products ?

23 May 2006, 10:30 PM
#30
wtashby avatar

wtashby

Totally Zenned

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

Re: Profit Markup/Margin Calculator

Farrukh:

Presently its set to update the margins individually.

I'll think about the feature of defining it once for all products.

let me know how would you like it to work, since the cost wont be the same for all products and their markup

Well, perhaps it could simply take the existing price of all the products and multiply them by whatever percent markup you add for the global change, then display the marked up price in the catalog. The prices are alreay in the database, why not just use those?

That way, people that use drop-shippers don't have to change the prices before uploading all the products. Am I making sense?

Also, what about my error:

Warning: Missing argument 2 for currencies::display_price(), called in C:\Program Files\xampp\htdocs\store\admin\includes\functions\functions_prices.php on line 149 and defined in C:\Program Files\xampp\htdocs\store\admin\includes\classes\currencies.php on line 99
0 0 0 0
243 1207 1207

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

23 May 2006, 10:36 PM
#31
farrukh avatar

farrukh

Zen Follower

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

Re: Profit Markup/Margin Calculator

wtashby:

Well, perhaps it could simply take the existing price of all the products and multiply them by whatever percent markup you add for the global change, then display the marked up price in the catalog. The prices are alreay in the database, why not just use those?

That way, people that use drop-shippers don't have to change the prices before uploading all the products. Am I making sense?

Also, what about my error:

Warning: Missing argument 2 for currencies::display_price(), called in C:\Program Files\xampp\htdocs\store\admin\includes\functions\functions_prices.php on line 149 and defined in C:\Program Files\xampp\htdocs\store\admin\includes\classes\currencies.php on line 99
0 0 0 0
243 1207 1207

Alright, ill see what i can do with the Multiple Markup.

Regarding the error, i cannot reproduce it on my machine. Can you give a bit more detail as which page is the error showing up. Also, what are your Server Specs.

23 May 2006, 10:40 PM
#32
wtashby avatar

wtashby

Totally Zenned

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

Re: Profit Markup/Margin Calculator

That error occurs in Admin - Categories/Products. When you click on a master category, that error is on every single product. However, you can still click on the product to edit it.

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

23 May 2006, 10:40 PM
#33
plowe1 avatar

plowe1

Zen Follower

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

Re: Profit Markup/Margin Calculator

I tried modifying the currencies.php, by adding stuff to the line 99

function display_price($products_price, $products_cost, $products_markup, $products_margin_gross_dollar, $products_margin_gross_percent, $products_tax, $quantity = 1) {

that is what i added, but i ended up with these errors for example

Warning: Missing argument 2 for currencies::display_price(), called in C:\Program Files\xampp\htdocs\store\admin\includes\functions\functions_prices.php on line 149 and defined in C:\Program Files\xampp\htdocs\store\admin\includes\classes\currencies.php on line 99

Warning: Missing argument 3 for currencies::display_price(), called in C:\Program Files\xampp\htdocs\store\admin\includes\functions\functions_prices.php on line 149 and defined in C:\Program Files\xampp\htdocs\store\admin\includes\classes\currencies.php on line 99

Warning: Missing argument 4 for currencies::display_price(), called in C:\Program Files\xampp\htdocs\store\admin\includes\functions\functions_prices.php on line 149 and defined in C:\Program Files\xampp\htdocs\store\admin\includes\classes\currencies.php on line 99

Warning: Missing argument 5 for currencies::display_price(), called in C:\Program Files\xampp\htdocs\store\admin\includes\functions\functions_prices.php on line 149 and defined in C:\Program Files\xampp\htdocs\store\admin\includes\classes\currencies.php on line 99

Warning: Missing argument 6 for currencies::display_price(), called in C:\Program Files\xampp\htdocs\store\admin\includes\functions\functions_prices.php on line 149 and defined in C:\Program Files\xampp\htdocs\store\admin\includes\classes\currencies.php on line 99

so what i added, caused extra faults......

so does something need removing from that line 99 ??????

all these erros were in the same box, i'e for each product under the cost field view


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

Car Audio, Entertainment & Security Specialists

23 May 2006, 10:45 PM
#34
farrukh avatar

farrukh

Zen Follower

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

Re: Profit Markup/Margin Calculator

wtashby:

That error occurs in Admin - Categories/Products. When you click on a master category, that error is on every single product. However, you can still click on the product to edit it.

I dont see the error on my side. Everythings working just fine.

23 May 2006, 10:48 PM
#35
wtashby avatar

wtashby

Totally Zenned

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

Re: Profit Markup/Margin Calculator

Let me ask this. The files included in the latest version, should they be uploaded AS IS, or, are there any modifications that must be made prior to uploading?

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

23 May 2006, 10:51 PM
#36
farrukh avatar

farrukh

Zen Follower

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

Re: Profit Markup/Margin Calculator

wtashby:

Let me ask this. The files included in the latest version, should they be uploaded AS IS, or, are there any modifications that must be made prior to uploading?

No modifications have to be done prior to the upload.

Try this way

Install a Fresh Copy of Zencart v1.3.0.1 and follow the ReadMe file only. Dont replace the files provided in the download.

Let me know what you get it done

23 May 2006, 10:53 PM
#37
plowe1 avatar

plowe1

Zen Follower

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

Re: Profit Markup/Margin Calculator

so this is for version 1.11 of zen and not 1.3.0.1 ???


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

Car Audio, Entertainment & Security Specialists

23 May 2006, 10:57 PM
#39
wtashby avatar

wtashby

Totally Zenned

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

Re: Profit Markup/Margin Calculator

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.

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:00 PM
#40
plowe1 avatar

plowe1

Zen Follower

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

Re: Profit Markup/Margin Calculator

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) {


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

Car Audio, Entertainment & Security Specialists