Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2013
    Posts
    95
    Plugin Contributions
    0

    Default can you calculate deposit payments?

    hey guys, want to ask is there a way to apply deposit payments in zencart? for example say someone order a 3000$ product, the deposit payment is 40%, so 1200 is the deposit pay.. i want this deposit pay to show up in the shopping cart or in the final total during checkout, this deposit wont affect the final price or anything, i just want it to be there to show the customer how much the deposit payment is.. meaning it's there for show only.. any way to achieve this in zencart? if not then which part of the code should i look into?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: can you calculate deposit payments?

    Out-of-the-box, Zen Cart calculates and collects only complete payments. Not partial payments.

    You talked about display-only, but then also talked about collecting deposits. Clearly you're going to need to do custom programming to accomplish your unique needs. But, since it's unclear what your business goal is behind your question, there's not enough information here to offer more guidance.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2013
    Posts
    95
    Plugin Contributions
    0

    Default Re: can you calculate deposit payments?

    Quote Originally Posted by DrByte View Post
    Out-of-the-box, Zen Cart calculates and collects only complete payments. Not partial payments.

    You talked about display-only, but then also talked about collecting deposits. Clearly you're going to need to do custom programming to accomplish your unique needs. But, since it's unclear what your business goal is behind your question, there's not enough information here to offer more guidance.
    im not trying to get the customer to pay for the deposit online, it's not a requirement for checkout, they're going to pay for it in a certain deadline after they've ordered, once they've payed we will send our guys to their place to finalize the orders

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: can you calculate deposit payments?

    Okay. But I don't understand what you want to display. Is this just some magical extra bit of text that should appear "someplace" and be magically calculated on some random value like every line item in the cart gets this extra piece of data shown? I can imagine that would clutter an already-busy display.
    Lots of details missing here still.

    You've already been posting elsewhere about altering what the shopping-cart class does. How does this relate to those things?

    I'm guessing you'd need to combine those changes along with a way of identifying each line item to say whether it should show an extra column and if so calculate what it should contain, and then in your shopping-cart template check whether that identifying detail is present and display it. Repeat in checkout as necessary.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2013
    Posts
    95
    Plugin Contributions
    0

    Default Re: can you calculate deposit payments?

    ah.. i think you're overthinking it abit.. i just want it to show up during checkout, like in the image below..

    http://img20.imageshack.us/img20/5782/totalw.png
    http://img826.imageshack.us/img826/6755/finalyx.png

    just a simple notification to let the customer know exactly how much they need to pay.. if it's too difficult to add it there, then perhaps a simple email notification after the order will work as well.. the important thing is to find a way inform the customer exactly how much partial-payment they need to pay that's all

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: can you calculate deposit payments?

    So, this is all to tell them to use the check/moneyorder payment method and send you a check for a partial amount?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Mar 2013
    Posts
    95
    Plugin Contributions
    0

    Default Re: can you calculate deposit payments?

    yes, just to let them know how much they need to pay, i dont need them to pay during checkout, they can pay using whichever means they want after they order

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: can you calculate deposit payments?

    Ya, that's different than how Zen Cart normally works. Zen Cart is totally geared around collecting the "order total", not a lesser deposit amount.

    But, as I said, simply add custom code into your template to calculate the number you want to display, and display it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Mar 2013
    Posts
    95
    Plugin Contributions
    0

    Default Re: can you calculate deposit payments?

    Quote Originally Posted by DrByte View Post
    Ya, that's different than how Zen Cart normally works. Zen Cart is totally geared around collecting the "order total", not a lesser deposit amount.

    But, as I said, simply add custom code into your template to calculate the number you want to display, and display it.
    where can i find the code for it?

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: can you calculate deposit payments?

    Given that you appear to be wanting to calculate your "deposit" from the order-total, then $order->info['total'] is probably what you're after.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v154 Can't Get Tare to Calculate
    By Phil Soth in forum Addon Shipping Modules
    Replies: 11
    Last Post: 30 Nov 2015, 08:01 AM
  2. v151 Can I force PayPal to collect UK County info so I can calculate VAT on it?
    By FrankStephen in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 14 Feb 2015, 03:19 PM
  3. Can you Can you exclude shipping cost from the group discounts?
    By blind1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 5 May 2008, 04:45 AM
  4. Can I set it to calculate?
    By colbyframe in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 31 May 2007, 09:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg