Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2006
    Posts
    1
    Plugin Contributions
    0

    Default Ideas on the best way to do this (if any)

    Here's the nut to crack:
    Variable pricing and currencies based on *regions*.

    Here's an example case:
    A company sells widgets internationally, and in addition, salesfolk who are responsible for their area get a cut.

    Thus, a widget that sells to a user in the southern US may go for $1.25, with BillyBob getting a $0.25 cut. However, in the northeast US, it sells for $1.35, with Buffy Smithers III getting a $0.07 cut. Meanwhile, over in Europe, Tony Charles gets 4% (in UK pounds) tacked onto each sale in commission for UK sales, and Benoit Chirac gets .25 in Euros tacked on to each sale in pounds.

    I'm currently thinking of it in terms of a few pieces:
    1. On the fly currency conversion.
    2. On the fly price markups based on fixed amount or percents depending on region.
    3. On the fly geolocation based on IP, so user pricing is deterministic (yes, I know about this minefield...)

    Am I pushing the limits of what zencart even *can* do, to where I should custom write a system to do this?
    Does somebody already know of a way to get zencart to at least emulate this kind of behavior?
    If ZenCart *can't* do this, is there anybody who *can*?

    (No actual stereotypes about names and locations were harmed in the composition of this forum posting)

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

    Default Re: Ideas on the best way to do this (if any)

    Sure, you can do that with Zen Cart. Zen Cart already tracks the currency in which an order is placed.

    If you need to alter the way in which product-pricing is done, you'll need to study the pricing functions and extend their usability to do extra things such as you've described, with consideration of how the shopping-cart and order classes work together through the checkout process etc.

    Not a small custom-coding process, but nonetheless do-able.
    .

    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. v150 Need Ideas and Help With Regards to the Best way of Setting Up UK Shipping
    By trickster771 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 23 Feb 2013, 11:47 PM
  2. doing customisations - is this the best way?
    By shaztesting in forum General Questions
    Replies: 3
    Last Post: 23 May 2010, 10:01 AM
  3. Best way to do that? Any ideas guys
    By Vertigo in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 2 Jan 2009, 11:04 PM
  4. Any Ideas On This?
    By Snotori in forum Addon Payment Modules
    Replies: 1
    Last Post: 19 Sep 2006, 12:42 AM
  5. What is the best way to do this bulk pricing?
    By dmlf1957 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 28 Aug 2006, 08:19 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