WordPress.org

Ready to get started?Download WordPress

Forums

Add to cart typefunctionality: How to make a processing.php for the plugin? (2 posts)

  1. bdiddymc
    Member
    Posted 5 years ago #

    Ahoy,

    I am looking to have an option where a vistor can save post(s) into a list and then eventually click a "view list" option to finally see the list of titles of the posts (these are items to then print out as a handy list).

    In a way is it like a shopping cart, but doesn't need any of the e-commerce requirements.

    I am trying to create a plugin as I have not found that allows for this. (If you know of one please share the love)

    I understand the principle involved with this, using sessions.

    However, I am having a problem getting my head around the processing of the information within the wordpress plugin code. So if a person wants to click the "add to list" button, I basically want to grab "the_ID" and POST or GET it to a file, to then push it into an array ($_SESSION['list']).

    How do I create a "processing page", within the plugin for this information to be processed?.

  2. jharrvis
    Member
    Posted 4 years ago #

    hi bdiddymc
    I also search something like this, have you found any solution?
    please if you don't mind, would you share the plugin you use?

    Thank you, I appreciate it

Topic Closed

This topic has been closed to new replies.

About this Topic