Quote Request Form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Anonymous Chief

    Quote Request Form

    Hi,

    I need help with a script I can add to my products on an html page.

    What I want is to assign a number to each product or name such that when I
    click on the link below the product image, it is added to a form/cart like
    page that the user can then submit for a quote request,

    Any Ideas?

    Anonymous Chief


  • Anonymous Chief

    #2
    Re: Quote Request Form

    Thanx Rich,

    Do you have any idea about the javascript code I could use to send possibly
    the SKU to the cart. That would be helpful, or at least the javascript code
    that would save the SKU in an array or something?

    Anonymous Chief
    "Rich" <rich@newsguy.c omwrote in message
    news:f3mv5k0ln1 @drn.newsguy.co m...
    On Thu, 31 May 2007 02:57:12 GMT, Anonymous Chief wrote...
    >>
    >>Hi,
    >>
    >>I need help with a script I can add to my products on an html page.
    >>
    >>What I want is to assign a number to each product or name such that when I
    >>click on the link below the product image, it is added to a form/cart like
    >>page that the user can then submit for a quote request,
    >>
    >>Any Ideas?
    >>
    >>Anonymous Chief
    >>
    >>
    >
    Based on what you described you'd probably need to use some basic
    javascript
    along with your PHP, to handle the click action that adds the item to a
    "cart".
    >
    Outside of that, depending on the quantity of products you have or plan to
    have,
    you may get better results using an SQL database. If that's overkill you
    can
    probably get by assigning a unique number or using your product's SKU for
    the
    form value.
    >
    Tom
    --
    Newsguy.com - Unlimited Accounts
    Now with 32 concurrent connections
    >

    Comment

    • Geoff Berrow

      #3
      Re: Quote Request Form

      Message-ID: <f3mv5k0ln1@drn .newsguy.comfro m Rich contained the
      following:
      >Based on what you described you'd probably need to use some basic javascript
      >along with your PHP, to handle the click action that adds the item to a "cart".
      I can't see any need for JavaScript.

      --
      Geoff Berrow (put thecat out to email)
      It's only Usenet, no one dies.
      My opinions, not the committee's, mine.
      Simple RFDs http://www.ckdog.co.uk/rfdmaker/

      Comment

      • Jerry Stuckle

        #4
        Re: Quote Request Form

        Anonymous Chief wrote:
        Thanx Rich,
        >
        Do you have any idea about the javascript code I could use to send possibly
        the SKU to the cart. That would be helpful, or at least the javascript code
        that would save the SKU in an array or something?
        >
        Anonymous Chief
        "Rich" <rich@newsguy.c omwrote in message
        news:f3mv5k0ln1 @drn.newsguy.co m...
        >On Thu, 31 May 2007 02:57:12 GMT, Anonymous Chief wrote...
        >>Hi,
        >>>
        >>I need help with a script I can add to my products on an html page.
        >>>
        >>What I want is to assign a number to each product or name such that when I
        >>click on the link below the product image, it is added to a form/cart like
        >>page that the user can then submit for a quote request,
        >>>
        >>Any Ideas?
        >>>
        >>Anonymous Chief
        >>>
        >>>
        >Based on what you described you'd probably need to use some basic
        >javascript
        >along with your PHP, to handle the click action that adds the item to a
        >"cart".
        >>
        >Outside of that, depending on the quantity of products you have or plan to
        >have,
        >you may get better results using an SQL database. If that's overkill you
        >can
        >probably get by assigning a unique number or using your product's SKU for
        >the
        >form value.
        >>
        >Tom
        >--
        >Newsguy.com - Unlimited Accounts
        >Now with 32 concurrent connections
        >>
        >
        >
        Uh, maybe you should ask in a javascript newsgroup?

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • Jerry Stuckle

          #5
          Re: Quote Request Form

          Geoff Berrow wrote:
          Message-ID: <f3mv5k0ln1@drn .newsguy.comfro m Rich contained the
          following:
          >
          >Based on what you described you'd probably need to use some basic javascript
          >along with your PHP, to handle the click action that adds the item to a "cart".
          >
          I can't see any need for JavaScript.
          >
          Same here. Just a simple get or post request to a script which adds the
          item to the shopping cart. Not even that much PHP code, depending on
          how you do it.

          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstucklex@attgl obal.net
          =============== ===

          Comment

          • Anonymous Chief

            #6
            Re: Quote Request Form

            I can do a post or get, but I can only do that from a form field. How can I
            do it from a click of a link.

            Can someone help me create a post/get script where a person would click on a
            link and it would send a session variable in the form of a product SKU that
            I can then submit as a form. Mybe in the future I will be able to use MYSQL
            to not only send the SKU as a session variable but also look up the SKU in
            the database then send the SKU # and SKU Details. That would be cool if I
            could do that!!!

            Thanx.


            BTW: I am reading on php from the basics onwards. I just have this project
            that needs that bit of code to be complete. My project is mainly html, and I
            have renamed the files to .php. It is mainly composed of "includes". I use
            the includes for the footer which contains links which I have setup on a
            dedicated links.php file. I just need the post/get script where a person
            would click on a link and it would send a session variable that I can then
            submit as a form.

            "Jerry Stuckle" <jstucklex@attg lobal.netwrote in message
            news:pM6dnUBWK9 n0Y8LbnZ2dnUVZ_ iydnZ2d@comcast .com...
            Geoff Berrow wrote:
            >Message-ID: <f3mv5k0ln1@drn .newsguy.comfro m Rich contained the
            >following:
            >>
            >>Based on what you described you'd probably need to use some basic
            >>javascript
            >>along with your PHP, to handle the click action that adds the item to a
            >>"cart".
            >>
            >I can't see any need for JavaScript.
            >>
            >
            Same here. Just a simple get or post request to a script which adds the
            item to the shopping cart. Not even that much PHP code, depending on how
            you do it.
            >
            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstucklex@attgl obal.net
            =============== ===

            Comment

            • Jerry Stuckle

              #7
              Re: Quote Request Form

              Anonymous Chief wrote:
              BTW: I am reading on php from the basics onwards. I just have this project
              that needs that bit of code to be complete. My project is mainly html, and I
              have renamed the files to .php. It is mainly composed of "includes". I use
              the includes for the footer which contains links which I have setup on a
              dedicated links.php file. I just need the post/get script where a person
              would click on a link and it would send a session variable that I can then
              submit as a form.
              >
              "Jerry Stuckle" <jstucklex@attg lobal.netwrote in message
              news:pM6dnUBWK9 n0Y8LbnZ2dnUVZ_ iydnZ2d@comcast .com...
              >Geoff Berrow wrote:
              >>Message-ID: <f3mv5k0ln1@drn .newsguy.comfro m Rich contained the
              >>following:
              >>>
              >>>Based on what you described you'd probably need to use some basic
              >>>javascript
              >>>along with your PHP, to handle the click action that adds the item to a
              >>>"cart".
              >>I can't see any need for JavaScript.
              >>>
              >Same here. Just a simple get or post request to a script which adds the
              >item to the shopping cart. Not even that much PHP code, depending on how
              >you do it.
              >>
              >--
              >============== ====
              >Remove the "x" from my email address
              >Jerry Stuckle
              >JDS Computer Training Corp.
              >jstucklex@attgl obal.net
              >============== ====
              >
              >
              I can do a post or get, but I can only do that from a form field. How
              can I
              do it from a click of a link.
              >
              Can someone help me create a post/get script where a person would
              click on a
              link and it would send a session variable in the form of a product
              SKU that
              I can then submit as a form. Mybe in the future I will be able to use
              MYSQL
              to not only send the SKU as a session variable but also look up the
              SKU in
              the database then send the SKU # and SKU Details. That would be cool
              if I
              could do that!!!
              >
              Thanx.
              >
              >
              (Top posting fixed)

              You can't send a form from a link. All you can do is send data as part
              of the URL. But that has nothing to do with PHP - that's just straight
              HTML. You need to be asking those questions in alt.html.

              And MySQL is a database - nothing more, nothing less. It allows you to
              store data more easily. It has nothing to do with session or anything
              else on the PHP/HTML side.

              P.S. Please don't top post. Thanks.

              --
              =============== ===
              Remove the "x" from my email address
              Jerry Stuckle
              JDS Computer Training Corp.
              jstucklex@attgl obal.net
              =============== ===

              Comment

              Working...