Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Need simple PHP help

    I would like to add a pop-up when someone removes an item from the cart.
    Also need the "do not show this pop-up again" check box for the session so as to not upset potential customers.

    I plan on putting (in the pop-up)
    some questions as to why they removed the item and a contact me button.

    So I guess a line or two in shopping_cart.php should suffice.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Need simple PHP help

    Quote Originally Posted by mespe View Post
    I would like to add a pop-up when someone removes an item from the cart.
    Also need the "do not show this pop-up again" check box for the session ID so as to not upset potential customers.

    I plan on putting (in the pop-up)
    some questions as to why they removed the item and a contact me button.

    So I guess a line or two in shopping_cart.php should suffice.
    http://www.w3schools.com/js/js_popup.asp (you'll be needing the 'Prompt Box').

    The example given is as simple as it gets. When you get that working you can simply expand/enhance it to suit your needs.

    Cheers
    RodG

  3. #3
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Need simple PHP help

    funny thing you should post a link to the website I've spent the last hour on,,, Last programming I did was in a C++ class some 15 years ago, my S/W skills are 1.2 out of 10

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,514
    Plugin Contributions
    126

    Default Re: Need simple PHP help

    Quote Originally Posted by mespe View Post
    I would like to add a pop-up when someone removes an item from the cart.
    Also need the "do not show this pop-up again" check box for the session so as to not upset potential customers.
    The easiest way to not upset potential customers is not to use popups.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Need simple PHP help

    Quote Originally Posted by mespe View Post
    funny thing you should post a link to the website I've spent the last hour on,,, Last programming I did was in a C++ class some 15 years ago, my S/W skills are 1.2 out of 10
    So needless to say I have no earthly idea where to put what in the code.

    I would think something like this,,,

    // display pop-up for item removal

  6. #6
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Need simple PHP help

    Quote Originally Posted by swguy View Post
    The easiest way to not upset potential customers is not to use popups.
    I understand that, but I would like to know when someone puts something in their cart, then changes their mind about buying the item. I sell onzees twozees of pre-owned mercedes parts,some of the items for sale are NLA from mfr. Some vintage, etc.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,514
    Plugin Contributions
    126

    Default Re: Need simple PHP help

    Quote Originally Posted by mespe View Post
    I understand that, but I would like to know when someone puts something in their cart, then changes their mind about buying the item.
    You're doing it wrong.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Need simple PHP help

    I'm not coder enough to answer your question, but online buyers have become accustomed to placing items they think they may want in their carts as a reminder to themselves.I suspect you'll be very busy contacting people who remove items from their carts, to no obvious advantage. I'll also agree with swguy - popups of any kind are annoying.

    Let's say I'm one of the visitors you contact. What would be the nature of our interaction?

  9. #9
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Need simple PHP help

    Quote Originally Posted by stevesh View Post
    Let's say I'm one of the visitors you contact. What would be the nature of our interaction?
    Say you own a 1973 Mercedes 450SE and you are in need of the chrome rain gutter on the left side of the car. You find my website and see the price, why put it in the cart if you don't want it? Now if there is a problem with shipping costs ( say for instance I put that it weighs 100 lbs instead of 2 lbs) etc

  10. #10
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Need simple PHP help

    As it stands, I have no idea what someone puts in their cart. If I knew this, I would know what kind of Mercedes they owned and will need parts for.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. I thought this would be simple. I need help.
    By bcannon in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 24 Mar 2010, 03:38 PM
  2. A simple .php code question? Please help!
    By triplemoonranch in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Feb 2008, 01:55 AM
  3. need simple php coding help!!!! 5 lines max..
    By waghelak in forum General Questions
    Replies: 4
    Last Post: 10 Sep 2007, 02:59 AM
  4. Need help with simple FAQ
    By starcad in forum General Questions
    Replies: 0
    Last Post: 11 Aug 2007, 07:16 PM
  5. Simple changes need help pelase...
    By jas99villa in forum Basic Configuration
    Replies: 4
    Last Post: 1 Feb 2007, 07:18 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