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
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.
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)
i can't upload image
can't show my image , why?
re: i can't upload image
Did you follow the setup instructions @ 100% ?
Here is my online demo :
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
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? :)
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.
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.)
views/products/_item.php line 4 :
views/products/details.php line 37:
maybe there is better way how to do it in model, but this worked.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.