Shopping Cart Development Help Needed

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

I was going to create my own but now I don't think I will... I would probably get an open source one and edit that a bit.

If any of you would help me find an e-commerce that can do the following:
  1. Use an Escrow type of thing
  2. Let the administrator edit/change prices
  3. Allow registered users to add their product for sale
    1. Admin (ME) would have to validate that product
    2. Admin can change the price/description/any other field
    3. Admin will get 10% (OR changeable/editable) of the gain (Users get the rest)
That's about all that I can think of at the moment on what I need in it. Any help? I'm not sure if Zen Cart or OsCommerce is able to do any of that ...
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

I might use osCommerce for now until I find one that will do what I want but I really want what I want to have immediately... so I can use it at once and won't have to change anything. Like costumer history and stuff like that. Argh!
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

Is there a tutorial on how to create your own OsCommerce thing? I would create my own but I don't know how to do the credit and things like that.

Please, if anyone knows of any tutorials, I would be glad to read through those.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

I still need some help on this. I searched OsCommerce and Zen Cart and they don't do exactly what I want.

Alright, let me tell you what I know and what I need to know.

I know how to do everything except the credit card/payment thing. How would I set up the thing for payment? I hope you understand.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

I still need this... quit a few months away and I still don't have anything on this...

I'm not asking for someone to code this thing for me... all I need is someone to show an already made one that has my desired features, or a tutorial on how to create one.

I might be able to create the shopping cart myself (By making the MySQL being the actual cart... I heard you can do the same with sessions... don't know how though).

I also don't know how to set up the payment thing... I would try to have it through paypal with credit cart allowed thing. I just need a good tutorial.

~ Thanks
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

Lol, I'm a stubborn talking parrot :lol:

I wonder if people are even reading this or put this on a "ignore list" :D


I found a good tutorial on this, but I need to pay for it, and the preview on it that I get tells, me that it's not what I want.

Also, how is it that people store a whole shopping cart in a SESSION? I mean I know how to set a session with a variable...

So setting a shopping cart in a session would be something like ($_SESSION['cart'] = shop_cart(); )? Correct? If so, how would one go by creating a shopping cart?

I can do this myself, I just need a jump start, like you do to a very old and rusty car.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

Any one? Please, I really need this and I'm stuck. I can't really go on with the site because most of it would be based on this... on this thing and by not having it would lead me to a dead end... well it did already :roll:

Is there really no tutorial out there and nobody who knows anything about it?

[EDIT:] I tried the following test to see how setting an object to a session would work.
PHP Code: [ Select ]
<?php
$test = new test();
$test->items = array('boots','shoes','computer','LCD Monitors','Disks');
$test->names = array('Billy Bob','Joe Daniels McMuffin','Billy Bob Joes');
$this->test = 'forgetful';
$test->save();
$test->get_that();
 
class test {
 
    var $items = array();
   
    var $names = array();
   
    var $testing = null;
   
    var $returns = false;
   
    var $test = null;
   
    var $test2 = 1;
   
    function test($totals = false)
    {
        if(isset($names[0]) && isset($names[1]))
        {
            $res = explode(',', $names);
            if($totals)
            {
                $res .= count($names);
            }
        }
        $this->test = $res;
       
    }
   
    function what_is_this()
    {
        $i = 0;
        foreach($this->items as $key => $value)
        {
            $this->testing2[$key][$i] = $value;
            ++$i;
        }
        $this->set();
    }
   
    function set_this()
    {
        $this->test2 = $this->test;
        $this->save();
    }
   
    function get_that()
    {
        if($this->returns)
        {
            return "<pre>\n" . $_SESSION['test'] . "</pre>\n";
        }
        else
        {
            echo "<pre>\n";
            print_r($_SESSION['test']);
            echo "</pre>\n";
        }
    }
   
    function return_this()
    {
        $this->what_is_this();
        return 'this';
    }
   
    function save()
    {
        $this->testing = $this->return_this();
    }
   
    function set()
    {
        $_SESSION['test'] = (array) $this;
    }
}
?>
  1. <?php
  2. $test = new test();
  3. $test->items = array('boots','shoes','computer','LCD Monitors','Disks');
  4. $test->names = array('Billy Bob','Joe Daniels McMuffin','Billy Bob Joes');
  5. $this->test = 'forgetful';
  6. $test->save();
  7. $test->get_that();
  8.  
  9. class test {
  10.  
  11.     var $items = array();
  12.    
  13.     var $names = array();
  14.    
  15.     var $testing = null;
  16.    
  17.     var $returns = false;
  18.    
  19.     var $test = null;
  20.    
  21.     var $test2 = 1;
  22.    
  23.     function test($totals = false)
  24.     {
  25.         if(isset($names[0]) && isset($names[1]))
  26.         {
  27.             $res = explode(',', $names);
  28.             if($totals)
  29.             {
  30.                 $res .= count($names);
  31.             }
  32.         }
  33.         $this->test = $res;
  34.        
  35.     }
  36.    
  37.     function what_is_this()
  38.     {
  39.         $i = 0;
  40.         foreach($this->items as $key => $value)
  41.         {
  42.             $this->testing2[$key][$i] = $value;
  43.             ++$i;
  44.         }
  45.         $this->set();
  46.     }
  47.    
  48.     function set_this()
  49.     {
  50.         $this->test2 = $this->test;
  51.         $this->save();
  52.     }
  53.    
  54.     function get_that()
  55.     {
  56.         if($this->returns)
  57.         {
  58.             return "<pre>\n" . $_SESSION['test'] . "</pre>\n";
  59.         }
  60.         else
  61.         {
  62.             echo "<pre>\n";
  63.             print_r($_SESSION['test']);
  64.             echo "</pre>\n";
  65.         }
  66.     }
  67.    
  68.     function return_this()
  69.     {
  70.         $this->what_is_this();
  71.         return 'this';
  72.     }
  73.    
  74.     function save()
  75.     {
  76.         $this->testing = $this->return_this();
  77.     }
  78.    
  79.     function set()
  80.     {
  81.         $_SESSION['test'] = (array) $this;
  82.     }
  83. }
  84. ?>
It gave me the following output:
Code: [ Select ]
Array
(
    [items] => Array
        (
            [0] => boots
            [1] => shoes
            [2] => computer
            [3] => LCD Monitors
            [4] => Disks
        )
 
    [names] => Array
        (
            [0] => Billy Bob
            [1] => Joe Daniels McMuffin
            [2] => Billy Bob Joes
        )
 
    [testing] =>
    [returns] =>
    [test] => forgetful
    [test2] => 1
    [testing2] => Array
        (
            [0] => Array
                (
                    [0] => boots
                )
 
            [1] => Array
                (
                    [1] => shoes
                )
 
            [2] => Array
                (
                    [2] => computer
                )
 
            [3] => Array
                (
                    [3] => LCD Monitors
                )
 
            [4] => Array
                (
                    [4] => Disks
                )
 
        )
 
)
 
  1. Array
  2. (
  3.     [items] => Array
  4.         (
  5.             [0] => boots
  6.             [1] => shoes
  7.             [2] => computer
  8.             [3] => LCD Monitors
  9.             [4] => Disks
  10.         )
  11.  
  12.     [names] => Array
  13.         (
  14.             [0] => Billy Bob
  15.             [1] => Joe Daniels McMuffin
  16.             [2] => Billy Bob Joes
  17.         )
  18.  
  19.     [testing] =>
  20.     [returns] =>
  21.     [test] => forgetful
  22.     [test2] => 1
  23.     [testing2] => Array
  24.         (
  25.             [0] => Array
  26.                 (
  27.                     [0] => boots
  28.                 )
  29.  
  30.             [1] => Array
  31.                 (
  32.                     [1] => shoes
  33.                 )
  34.  
  35.             [2] => Array
  36.                 (
  37.                     [2] => computer
  38.                 )
  39.  
  40.             [3] => Array
  41.                 (
  42.                     [3] => LCD Monitors
  43.                 )
  44.  
  45.             [4] => Array
  46.                 (
  47.                     [4] => Disks
  48.                 )
  49.  
  50.         )
  51.  
  52. )
  53.  
All that stuff in the class is for testing purposes only that I did in about 2 minutes... I didn't really have any set function in mind other then to test.

How would I go about creating a shopping cart like this? It now seems kind of EASIER than I thought at first, but I don't know how to set up the array and how to get everything to work in peace with each other...

Also, I'm still in the dark on how I would go about doing the transaction thing. I looked through php.net and found out that there are certain functions available just for that but I don't know if they are safe, how to use them, what they are for (more specifically) and how to go about implementing that to the shopping cart if and when I'm done.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

lol, from September until now, all that was happening in this thread is me talking to myself. Kind of sad in a way.

I guess there is no good tutorial or maybe I should just give up on this... I really really really don't want to give up.
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Hello, hello. You are not talking to yourself now.

:)
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

George L. wrote:
Hello, hello. You are not talking to yourself now.

:)

:lol: okay. If that's how you want it... I'm not getting the answer to my question!
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

Bogey wrote:
I'm not asking for someone to code this thing for me... all I need is someone to show an already made one that has my desired features, or a tutorial on how to create one.

I'm willing to bet that the reason you're not receiving replies is because nobody here is going to be able to offer you anything more than what a simple Google search can offer. You said you don't want to use osCommerce or ZenCart, which are the two major applications that people here are familiar with. Unless a member here has experience with another shopping cart app, any links people post to applications or tutorials are most likely going to just be regurgitated search results.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

spork wrote:
regurgitated.

Don't use long words :(


lol ok... I have Googled many a times and the results on the first few pages have finally changed :)

I found one tutorial, and going to look through it when I have the time... I just wish that maybe someone else knows of how to actually save the shopping cart to the session and how to retrieve it, although that should be easy. I just need some pointers to it that's all... I can do everything as far as the admin and user pages goes if I can completely understand the SESSIONs thing...

After this, I would need to process... the payment thing.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

Oh... some people here have experience building a shopping cart. They can suggest how/where to start but I guess I'll have to look around Google and find these things myself....

Another thing... I don't know the terms to search for to get the payment process to work ... any ideas or links that I can regurgitate? :D

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: No registered users and 107 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.