Yii 1.1: tiny-paypal-shop

A tiny shopping cart script that supports batch products additions

A base website if you want to quickly launch a shopping cart. It supports batch products additions (zip image packs) (PECL/Zip extension is required). It supports only the Paypal cart (paypal buttons).


  • Yii 1.1 or above
  • SQL database
  • PHP GD & PECL/Zip extensions enabled


  • Unzip all files to your server document-root folder
  • Place the Yii "framework" folder in the same directory
  • Create SQL tables using the included "mysql.sql" file
  • Make sure the entire document-root folder is fully writable by the server process (www-data)
  • Configure your webshop in /protected/config/main.php
  • Login with admin/admin or set another password in /protected/components/UserIdentity.php

Click here for more informations


Project page

Click here

Total 8 comments

#14460 report it
Jimako at 2013/08/13 10:10am
not showing images

Hi, many thanks, it's seems great (for learning at least). I had problem with not showing pictures too. Reason was url (when you have subdirectory on localhost f.e.) I changed: views/products/_item.php line 4 :

src="<?php echo $data->thumb_url; ?>">


src="<?php echo Yii::app()->baseUrl.$data->thumb_url; ?>">

views/products/details.php line 37:

CHtml::link(CHtml::image(Yii::app()->baseUrl.$this->model->image_url... , Yii::app()->baseUrl.$this->model->image_url,

maybe there is better way how to do it in model, but this worked. Thank you

#12446 report it
saegeek at 2013/03/21 04:44am


no i don't have a new version, and i don't plan to work on any PHP project anymore, sorry.

You can take my shopping cart as a base to produce a more complete shopping cart but look at Github and Google code first, there are some shopping cart scripts for Yii.

#12436 report it
pligor at 2013/03/20 10:42am
New versions?

You have started something really good here.

I am still seeing version 0.11 which is the same as last year..

Do you have any new versions? :)

#11689 report it
drumaddict at 2013/01/27 03:54pm
You should give credit when using extensions to make your own

I could'nt help but notice that you have used my nestedsetadmingui extension for your menu administration.At least give some credit.I usually list other extensions in a Resources section at the end of my extension page.It's a matter of respecting people's work

#10538 report it
saegeek at 2012/11/03 06:36am
re: i can't upload image

Did you follow the setup instructions @ 100% ?

Here is my online demo : http://manyshoes.ze.cx/

login: admin

password: admin

#8929 report it
Lia at 2012/07/08 01:03pm
i can't upload image

can't show my image , why?

#8440 report it
saegeek at 2012/06/03 02:38pm
RE: Nice one will give a try.

I just wanted to use it as a personal shop and in the same time, release it to avoid 1 month of work to people. To repack it as an extension, i need more Yii tutorials ;-)

You can add a "cart" extension that stores data into the session:

shopping cart component

But this way, you'll need to create an extension that will send cart data to your payment gateway (paypal or another)

#8428 report it
bonnie at 2012/06/02 11:14am
Nice one will give a try.

The question I have is it will be good if it was implemented as a module that is easy for someone to include it in an existing application without moving files much. Though thanks.

Leave a comment

Please to leave your comment.

Create extension