Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    East Preston, West Sussex, United Kingdom
    Posts
    24
    Plugin Contributions
    0

    Zen Developers - Surely this is easy?

    I'm not a programmer or a web-designer but can anyone who is tell me if this right?

    1. In zencart admin you can toggle prices to be displayed with or without VAT.

    2. In programming terms this is a TRUE or FALSE condition (or 1 or 0).

    3. It should be easy to add a button to any zencart site that can be pressed by the shopper which toggles the same code between this TRUE or FALSE condition giving them the option to view prices with or without VAT.

    If this is wrong or vastly over simplifying then please excuse my ignorance.

    If this is correct then can someone please tell me where I can find the relevant code that changes this condition so I can pass it on to my developer?

    Many Thanks
    Rob

  2. #2
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Zen Developers - Surely this is easy?

    so I can pass it on to my developer?
    Your developer? If he really is a developer, as in "PHP programmer" he should not have that much trouble finding this out himself.

    And yes, there is an easy way to switch the taxes on and off, but I do not have it at hand atm. Maybe later ...

  3. #3
    Join Date
    Jan 2006
    Location
    East Preston, West Sussex, United Kingdom
    Posts
    24
    Plugin Contributions
    0

    Default Re: Zen Developers - Surely this is easy?

    I would very much appreciate it if you could.

    Thanks

    Robin

  4. #4
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Zen Developers - Surely this is easy?

    Oops, I should have kept my big mouth shut. I guess I *have* to give it shot now. ;-)

    I do not have a ready made solution for you, but I think I can point you in the right direction. Some time ago I wanted to create a tax free shopping module that uses the customer groups to allow customers (belonging to a "taxfree" group) to buy taxfree. I never really finished it but the basic idea does work, and I attached the files to this thread. Of course it is not exactly the same as what you asked for, but I think converting it to a taxfree button (i.s.o. a taxfree group) should not be difficult.

    Basicly I would:

    1: Add a taxfree true/false form button somewhere.

    2: Check if the button has been pressed ($_POST value)

    3) If the $_POST value isset, save the taxfree true/false value into the $_SESSION array.

    4) Depending on the $_SESSION value disable taxes in includes\functions\functions_taxes.php by letting it return a value of 0.

    So, the zip does not include al of the above, but it does include some code to save the taxfree tue/false value to the session, and switch the tax on and off accordingly.

    I hope this helps. It may sound complicated? But it really isn't

  5. #5
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Zen Developers - Surely this is easy?

    Oops again, I forgot the attachement. Here it is....
    Last edited by paulm; 9 Dec 2006 at 12:11 AM.

  6. #6
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Zen Developers - Surely this is easy?

    Ah, the joys of the English language and its usage! Thank goodness I never called myself a web "developer", otherwise I'd be having a serious falling out with my client this morning!!

    But what should he call me as I am indeed "developing" his website from the basic ZC? Perhaps I should be a "zenhancer"

    But thanks for the solution - I'm surprised that if it really is that simple that it isn't part of the core code.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  7. #7
    Join Date
    May 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Zen Developers - Surely this is easy?

    Quote Originally Posted by paulm View Post
    Some time ago I wanted to create a tax free shopping module that uses the customer groups to allow customers (belonging to a "taxfree" group) to buy taxfree. I never really finished it but the basic idea does work, and I attached the files to this thread. Of course it is not exactly the same as what you asked for, but I think converting it to a taxfree button (i.s.o. a taxfree group) should not be difficult.
    Paul, I have a client asking me for very much the same thing. He wants the store to show prices with tax for everyone except those put in the "reseller " group. I was surprised that I could not find such a module. Could you please post your files again?

    What kind of issues did you come up against when trying to implement this module?

    Thanks in advance!

 

 

Similar Threads

  1. Where to find Zen Cart freelance developers?
    By zcprojectLP in forum General Questions
    Replies: 1
    Last Post: 29 Jan 2008, 09:45 PM
  2. Surely this can be done
    By natchezjohn in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Jul 2007, 12:13 AM

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