/    Sign up×
Community /Pin to ProfileBookmark

Creating a Cart with Limit

I am a photographer and many of my clients want to choose from different options for prints. Example 5 8×20 2 5×7 1 16×20

My basic idea is to have them
1. select a package from a few options.
2. That would then limit the items being added to the cart to just filling the package items.
3. Once package is filled they can add other images to their cart but will get a warning that they have reached the package option limit and any thing else added will be an additional price.

Hopefully that makes since. Any ideas or input are welcome.

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @shutterbug spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...