Zen Cart Logo
Forums / General Questions / Can admin add items to cart / custom price?

Can admin add items to cart / custom price?

Locked

Views: 1,244

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 Feb 2008, 4:12 AM
#1
brian1234 avatar

brian1234

Zen Follower

Join Date:
Jun 2004
Posts:
102
Plugin Contributions:
0

Can admin add items to cart / custom price?

Can the admin add an item to a customers cart? How about for a custom amount?

We sell a monthly service, so the user has a recurring charge. Normally the back office just runs another charge on the users CC each month. We're wondering if theres a way for the admin to add the item to the users cart each month, then we'd generate an email that says something like "you may review and pay your bill online, if you don't pay the amount by X&Y date the charge will be automatically performed". This gives them a convenient online way of seeing pending and past transactions.

We would also need to put a custom-charge item in the cart, for overages they may have incurred in the previous month. So, a pending cart might look like:

  1. Renewal charge for February services (the usual $19.99 or whatever).
  2. Overage charges for January (non-fixed amount)

Zenners - what's the best way to manage this?

12 Feb 2008, 10:31 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Can admin add items to cart / custom price?

What you are asking is outside the scope of zencart - and probably every other "off-the-shelf" e-commerce system.

You are requiring that an automatic function occurs at a set date/time that writes information to a database.

Building this for zencart may be possible, but is probably going to be governed by CRON JOBS, outside of the framework of the zencart software.

(I would imagine that a completely separate module needs to be written for this - and it's likely to be complicated)

12 Feb 2008, 2:03 PM
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Can admin add items to cart / custom price?

As schoolboy pointed out, if you're looking to do this automatically, it will require custom programming.

If you're planning on doing it manually, take a look at the Admin Tools in the downloads section, specifically Admin login as customer which may help you on your way.

12 Feb 2008, 9:12 PM
#4
brian1234 avatar

brian1234

Zen Follower

Join Date:
Jun 2004
Posts:
102
Plugin Contributions:
0

Re: Can admin add items to cart / custom price?

OK, so theres a manual workaround to add predefined items to the cart, but it doesn't address the issue of having an 'arbitrary' charge for eg: overages in the previous month. Any ideas there or back to custom programming?