Forums / General Questions / How to limit the total amount of products can be inserted?

How to limit the total amount of products can be inserted?

Locked

Views: 1,400

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
17 Dec 2009, 11:41 AM
#1
jackz avatar

jackz

New Zenner

Join Date:
Dec 2009
Posts:
11
Plugin Contributions:
0

How to limit the total amount of products can be inserted?

Hi All,

We want to limit the total amount of products can be inserted in the Zen Cart. Let's say we only allow maximumly 500 products can be inserted by our client. Is there any way we can accomplish this?

Thanks in advance,

Jack

17 Dec 2009, 12:21 PM
#2
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: How to limit the total amount of products can be inserted?

No there is no such functionality for this since it is an open source software and not intented to restrict users. And, you shouldnt charge your clients for adding more products when you use a open source product. Not sure if this is allowed with the licence. I think its fair to charge someone for the work you put in creating a nice template or installing it on a server. But not for restricting the use of open source software.

17 Dec 2009, 2:27 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How to limit the total amount of products can be inserted?

I agree with tino...

This is underhand and goes against the spirit of OS and Zencart.

For what purpose are you intending to limit the number to 500?

If you are thinking of setting up a tiered structure where people pay for more than 500 items in a store then you may indeed be violating the licence.

20 years a Zencart User

17 Dec 2009, 5:13 PM
#4
jackz avatar

jackz

New Zenner

Join Date:
Dec 2009
Posts:
11
Plugin Contributions:
0

Re: How to limit the total amount of products can be inserted?

Thanks for your answer. You were right in some degrees.

Well, everything has its reason. I dont think we are breaking the spirit of the opensource. We offer hosting for the client. We just want to control the bandwidth so they don't use too much of the bandwidth. Because we pay bandwidth! Hope this is understandable. Thanks!

17 Dec 2009, 5:21 PM
#5
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,307
Plugin Contributions:
40

Re: How to limit the total amount of products can be inserted?

Limiting the number of products in NO WAY helps to control bandwidth. They can create unlimited pages and promote their site with great success and use MORE bandwidth if than if they are limited to 500 products.

This is not a proper use of the license. Configure your hosting properly to prevent overselling of bandwidth or let the client host himself..... Hosting is a professional service and should be handled as such.

~Melanie

17 Dec 2009, 5:30 PM
#6
jackz avatar

jackz

New Zenner

Join Date:
Dec 2009
Posts:
11
Plugin Contributions:
0

Re: How to limit the total amount of products can be inserted?

FYI, as I can see on one of the certified hosting provider - Geek Host. They have the limitation of 50 products maximum. http://geekhost.ca/index.php?main_page=page_4

17 Dec 2009, 5:32 PM
#7
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,307
Plugin Contributions:
40

Re: How to limit the total amount of products can be inserted?

That is the number of products they will insert for the customer w/ setup...

~Melanie

17 Dec 2009, 6:36 PM
#8
jackz avatar

jackz

New Zenner

Join Date:
Dec 2009
Posts:
11
Plugin Contributions:
0

Re: How to limit the total amount of products can be inserted?

Thanks Melanie!

Oh, Okay. I see. It was quite confusing though.

We have this headache. Because the client just want to put their Zent Cart on our server. We have been with them for a while and providing other IT services. They dont want to pay another bill. And we have to do all the technical support for them. They know nothing about the computer stuffs. However, we dont want to tell them that their bandwidth is limited neither (long story).

18 Dec 2009, 1:00 AM
#9
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: How to limit the total amount of products can be inserted?

Jackz:

Thanks Melanie!

They dont want to pay another bill. And we have to do all the technical support for them. They know nothing about the computer stuffs.

And you do all this "Out of the kindness of your heart" ?

Come on, educate them that they need to pay for decent hosting and for any other services that they want.

This is a business after all

...or move on...

19 Dec 2009, 6:51 AM
#10
jackz avatar

jackz

New Zenner

Join Date:
Dec 2009
Posts:
11
Plugin Contributions:
0

Re: How to limit the total amount of products can be inserted?

Thanks gilby!

This is a hard time for all businesses. Our clients are all SMBs. Usually they dont want to spend even a penny on those unnecessaries. Unless it shows there is a clear reason. We have tried but the reality is although they understand the word "bandwidth", they dont know what exactly the result of bandwidth will bring to them. "you have spend 2G or 20G this month" doesnt mean nothing to them. They are still going to ask you why I should pay you this much? Because there is no direct relation that high bandwidth=more sales. It's very hard to clearly measure it.

We think it is easier to tell them that "okay, you have approximately 1000 products, then you can insert maxuimumly 1200 products in your online store, and it will cost you this amount of money", that's it. We dont want to control them with exactly how much bandwidth they can spend. It can be a reasonable range. In general, a store with 1000 products compares with a store with 10000 products, should have different bandwidth spending. And the hosting price should be different as well.

19 Dec 2009, 5:01 PM
#11
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How to limit the total amount of products can be inserted?

Jackz:

In general, a store with 1000 products compares with a store with 10000 products, should have different bandwidth spending. And the hosting price should be different as well.

Sorry, but this is nonsense. All that increases is the disk space to contain the data.

Bandwidth is a different issue entirely. Bandwidth usage is calculated on the VOLUME of traffic to and from a site, and the quantity of kbytes transferred during that process.

A site with ONE PRODUCT getting 10,000 visitors a day will consume about TEN THOUSAND TIMES more bandwith than a site with a HUNDRED THOUSAND products getting ONE visitor a day.

I uses several hosts, but all of them now offer UNLIMITED storage space and UNLIMITED bandwidth... So why don't you look at reselling for a host that is reliable and has similar policies?

20 years a Zencart User

19 Dec 2009, 5:44 PM
#12
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: How to limit the total amount of products can be inserted?

Jackz:

Hi All,

We want to limit the total amount of products can be inserted in the Zen Cart. Let's say we only allow maximumly 500 products can be inserted by our client. Is there any way we can accomplish this?

Thanks in advance,

Jack

I see that we have gotten away from the real question.
As I see it zc should not have anything to do with limiting its content.
The best way IMO is to set a mysql database size limit. This way the hosting company is controlling zc capacity not the application.

Skip

• 446F63746F722057686F •