Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Adding a required field during Checkout that Shows on the Invoice

    OK, I see I am probably going to have to sort this myself, and feel reasonably confident to do so "in this area". I know the database field is named [comments] in the [orders_status_history] table AND at this point are planning to edit the: includes/classes/order.php file to try and append data to the array value from an additional form input written onto the order confirmation page

    Hopefully this will then simply use the existing ZC processing to write the data to the database.

    I would appreciate any Zen Cart experts giving me their quick thought, especially with regards to any other implications of altering the executing php file - and where else it may be called *apart* from the order confirmation page.

  2. #2
    Join Date
    Sep 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Adding a required field during Checkout that Shows on the Invoice

    No response yet of course. This is my main gripe with Zen Cart, even though it is a great OS product.

    The problem is when you actually want to do something a little different. As detailed above I am more than prepared to delve into the code and suffer all of the debugging effort that core code modifications require, however it would *really* help if a Zen Cart expert/team member could give me just a little insight into where to start. But I can't get any response, and that means:

    - there are no experts who know this information
    - there are no experts who can be bothered responding

    Unfortunately for me these problems with quasi-support is Zen Cart's limiting factor.

    As a reasonably intelligent developer I am using Zen Cart because (apart from the obvious cost factor) I can customise the cart to suit rather than write the darn things from scratch (which I have done in the past).

    I accept the code "quirks" because of this, but I do want to be able to customise beyond the standard parameters - and to do this effectively I need to know how the code processes.

    At the end of the day this "simple" mod is something the client wants and it is quite frustrating that it seems I would need to do all of the code reverse-engineering in this area to implement it. Obviously someone must have written this code....

    OK, I could pay someone else to do it, (but who?) and then this simply raises other development issues that tip the scales towards me simply handing it all of the work (and the hassles) to a commercial software provider.

    It has been a great product and it has given my client a great start into online trading, but for me the signs are now pointing towards the site just maturing beyond the point where Zen Cart is the right option.

    My two cents anyway.

    Anyone got any recommendations (actual users please) on commercial software that is reasonably easy to get data from Zen Cart?

  3. #3
    Join Date
    Dec 2006
    Location
    Chicago, IL
    Posts
    149
    Plugin Contributions
    1

    Default Re: Adding a required field during Checkout that Shows on the Invoice

    I wish I had an answer for you and for myself. I'm posting because I did not want your post to go ignored as many (in my opinion) do.
    [FONT=Palatino Linotype]Contribution Start:[/FONT]
    [FONT=Palatino Linotype]SHINE Live Help Sidebox[/FONT]

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding a required field during Checkout that Shows on the Invoice

    This might be close and has been in the downloads for a time if one looked
    http://www.zen-cart.com/index.php?ma...roducts_id=186
    Quote Originally Posted by lotii10396
    Anyone got any recommendations (actual users please) on commercial software that is reasonably easy to get data from Zen Cart?
    What type of data?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Dec 2006
    Location
    Chicago, IL
    Posts
    149
    Plugin Contributions
    1

    Default Re: Adding a required field during Checkout that Shows on the Invoice

    Kobra,

    The one you suggested doesn't populate on the packing slip or invoice.

    The data I would like to input is text.
    [FONT=Palatino Linotype]Contribution Start:[/FONT]
    [FONT=Palatino Linotype]SHINE Live Help Sidebox[/FONT]

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding a required field during Checkout that Shows on the Invoice

    The one you suggested doesn't populate on the packing slip or invoice.
    It stores it with some variable to the DB
    One would have to add the variable to the invoice etc
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Dec 2006
    Location
    Chicago, IL
    Posts
    149
    Plugin Contributions
    1

    Default Re: Adding a required field during Checkout that Shows on the Invoice

    Kobra,

    That sounds great. It sounds like it is just a matter of (for text) duplicating that add on, modifying the options then adding it to the invoice.

    Thank you again for the start. It is appreciated.
    [FONT=Palatino Linotype]Contribution Start:[/FONT]
    [FONT=Palatino Linotype]SHINE Live Help Sidebox[/FONT]

  8. #8
    Join Date
    Sep 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Adding a required field during Checkout that Shows on the Invoice

    To Rabbcon and kobra, appreciate your thoughts. And I especially agree with Rabbcon regarding un-answered posts. The dilemma here is that 80% of posted questions are usually simply install errors or RTFM (read the $@#% manual) problems so many are duplicated and thus ignored. As a developer myself I certainly do not have time to be answering the simple questions.

    As a reasonably experienced user of ZC I try and avoid any third-party modules that involve database modification wherever possible (so kobra I wasn't looking for a module!) because I wish to keep the code as tight as possible.

    All I want to do is append field data to an existing database variable which is already used in the invoice display. I would have thought this is far simpler than using third-party modules and modifying the database.

    But I just can't see how the final page variables (as mentioned assume they are in some sort of an array) get written to the database. As you would know from the code most pages are includes+includes+includes which makes reverse engineering very tedious and difficult, so all I was looking for was insight as to where (ie which files) this is happening.

    So my point remains the same - as a developer the biggest problem with ZC is that serious help/support is just too hit-and-miss.

    ----------------------------------------------------------------

    Why "not" to use modules.

    Of course I use the modules, but the more I use them the less I like the implementation.

    My biggest problem is that, I (like many others I suspect) have been caught with these modules not working/no longer supported. The scary part here was that one module (which calculated postage rates) did not stop working - it just stopped "calculating" properly. So I did not notice this until several months later. It was only "after" finding out this information and having a rant (another...!) with the developer that the module was removed from the downloads list, where it was still appearing as a totally valid and updated module!

    And with the current "optional" implementation of the module manager (where some require it and some don't) the module management side is only getting messier rather than simpler. EG what happens if the developer coding the Module Manager decides to abandon ship?

    Modules are a great idea, but for me they need to start getting a little bit more refined as to how they are managed.

    ------------------------------------------------------------

    At the end of the day for me it is about money. I'm at the point where I would *like* to:

    1. pay to be on a developer forum where:
    a. you wouldn't get silly posts
    b. you would be assured of a response

    I expect that being on this forum would sort out many of the recent data-mining issues with ZC and rampant indexing spiders without me having to do hours of research.......

    2. pay a registration fee with module programmers who would then "push" me updated information/patches.


    So whilst I do think it is great OS software (which was why I used it in the first place) I'm a developer who doesn't *want* to be continually checking that the code/modules are working so I am recommending to my client that she should now begin looking at commercial software.

    ---------------------------------------------

    When I was asking for recommendations obviously others have taken this path before, so I was hoping other users could give some insight as to which packages import the raw ZC data (ie from the database) the best.

    I would have thought the attributes would be the biggest head-ache?

    Anyway, thanks again for responding Adrian

 

 

Similar Threads

  1. v151 Adding custom field during checkout
    By hues in forum General Questions
    Replies: 1
    Last Post: 9 Nov 2012, 10:39 PM
  2. v139h How to make customer referral a required field during create account?
    By idc1 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Jan 2012, 09:47 PM
  3. All fields deleted when one required field is missing during sign in.
    By clueless_in_berlin in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 31 May 2010, 05:07 PM
  4. Replies: 6
    Last Post: 11 Aug 2007, 09:44 AM
  5. State Field Not Required During Registration but Required in Admin?
    By Stenrique in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Jun 2007, 09: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