Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBA CMPS: Webshop / Commerce Add-on (Physical Products) Details »
vBA CMPS: Webshop / Commerce Add-on (Physical Products)
Mod Version: 0.2b, by flup (Member) flup is offline
Developer Last Online: Oct 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (1 vote - 5.00 average) Installs: 25
Released: 21 Jan 2009 Last Update: 07 Feb 2009 Downloads: 400
Not Supported DB Changes Template Edits Additional Files Translations Is in Beta Stage  

0. AUTHOR AND HACK INFORMATION

0.1 AUTHOR
This hack is created by Joshua de Gier
http://www.vbulletin.org/forum/member.php?u=5368

It uses code from vBA CMPS 3.1.0 to run properly
http://www.vbadvanced.com

Tested on:
vBulletin 3.7.2 and vBA CMPS 3.1.0

Should work on:
vBA CMPS 3.0+
vBulletin 3.6.x / 3.7.x / 3.8.x

0.2 HACK INFORMATION

Version: 0.2b
Secured the script from SQL injections

Version: 0.1b
Info: this is the first beta version of this hack, no installer or whatsoever is added. I'm looking for co-authors who can help me getting used to the vB product system and auto-template changes and template installations

File edits: 0
File uploads: 6

Database changes: 0
New Database tables: 5

Template edits: 1
New Templates: 1

New vBA CMPS Pages: 4
New vBA CMPS Modules: 1

1. INSTALL INSTRUCTIONS

1.1 SQL IMPORT
Included in the ZIP-file there is a .sql file. Open your PHPMyAdmin and import this file into your database this file creates the tables for the webshop.

1.2 FILE UPLOADS
Upload all files from the upload folder in the zip to your forum root in the matching folders

1.3 TEMPLATE EDITS
-> Open template 'adv_portal' and find this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

-> Above this add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

-> Save template

1.4 NEW TEMPLATES
-> Create a new template called 'adv_portal_shoppingcart' and add this inside the field:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

-> Save template

1.5 NEW vBA CMPS PAGES
You have to add 4 new pages to your vBA CMPS system, in your admincp go to 'vBa CMPS -> Add Page':

1.5.1 CART

-> Page Title: Cart
-> Page Identifier: cart
-> Order/Keywords/Desc: free to choose yourself
-> Parent page: none
-> Custom style: free to choose yourself
-> Page active: yes
-> Path to file: modules/shop/cart.php
-> Clean File Output: no
-> Use Wrapper Temp: no
1.5.2 CHECKOUT

-> Page Title: Checkout
-> Page Identifier: checkout
-> Order/Keywords/Desc: free to choose yourself
-> Parent page: none
-> Custom style: free to choose yourself
-> Page active: yes
-> Path to file: modules/shop/checkout.php
-> Clean File Output: no
-> Use Wrapper Temp: no
1.5.3 SHOP

-> Page Title: Shop
-> Page Identifier: webshop
-> Order/Keywords/Desc: free to choose yourself
-> Parent page: none
-> Custom style: free to choose yourself
-> Page active: yes
-> Path to file: modules/shop/shop.php
-> Clean File Output: no
-> Use Wrapper Temp: no
1.5.3 SHOP ADMIN

-> Page Title: Shop Admin
-> Page Identifier: shop_admin
-> Order/Keywords/Desc: free to choose yourself
-> Parent page: none
-> Custom style: free to choose yourself
-> Page active: yes
-> Path to file: modules/shop/shop_admin.php
-> Clean File Output: no
-> Use Wrapper Temp: no
1.6 NEW vBA CMPS MODULES
You have to add 1 new module to your vBA CMPS system, in your admincp go to 'vBa CMPS -> Add Module':

1.6.1 SHOPPING CART

-> Module Title: Shopping Cart
-> Active: yes
-> Module Parent: none
-> Templates used: adv_portal_shoppingcart
-> Page active: yes
-> Clean File output: yes
1.7 INSTALLATION FINISHED
You have now finished the installation!

2. CONFIGURATION AND LINKS
You now have to perform some change to your navbar/quick links, where you want to add them is completely up to you. The links you can use depend on how your vBa CMPS file is called. Let's say it's still the default filename: cmps_index.php. In that case you can use the links:

Webshop

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Shop Admin

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Go to your Shop Admin page and click 'Settings' from the leftside menu. Now configure your settings (also change the vBA CMPS page if it differs from the default cmps_index.php file!).

3. VERSIONS & FEATURES

VERSION:
  • version 0.1b
    This is the first version of the vBA CMPS Webshop script. It's very basic right now and open for beta testing and feature requests. However, it could take a while for requests to be added as I do not have much spare time left. Therefor I'm looking for a Co-Author who is willing to help me with this modification (perhaps also with making a product for template changes, etc.)

FEATURE LIST:
  • Shop home: category overview + 5 latest products
  • Shop category: product overview
  • Shop Products: view products
  • Shopping Cart: add products to cart
  • Shopping Cart: update/delete items in your cart
  • Member Discount: you can add special discount for forum members! This is perhaps a good way to attract members to your forums.
  • Unique user sessions: these are either based on user-id (if logged in) or ip-adres (if logged out). Shopping carts save infos as long as the order is not finished. If the order is finished, a new shopping-session will be created as soon as a product is added to the shopping cart
  • Unique owner per shop: you have the ability to add a specific user as a shop owner, this user can add/edit/delete products in this category and will receive an e-mail as soon as a product is ordered from his/her category
  • Order proces: orders are processed via mail! There are no online payment methods so far!
  • As each category has it's own owner, the proces will create a mail going out to each of them ONLY CONTAINING the products ordered from their category. If they manage multiple categories, it still will be one email
  • The user who ordered also receives an e-mail containing the complete order

4. UPCOMING FEATURES
There are a couple of features i'd like to add, as I haven't added them so far:
  • Image uploader (+ auto thumbnail)
  • Online Payment Processing via PayPal
  • Add/Edit/Delete buttons in frontpage if a users is an admin or the category owner
  • Show all orders in admin area (closed sessions)
  • Shop open session (sorted by start date) and have an option to delete sessions older than x days (to clean up database)
  • View orders: this page shows all of your orders in the past like the shopping basket

5. SCREENSHOTS
5.1: Homepage of the webshop, displaying the categories and random products
5.2: Categorie page: product listing
5.3: Shopping cart
5.4: Shopping cart updated (multiple products)
5.5: Submit order form (user details)
5.6: Order succesfull notice (if a field was left empty, the form will be reloaded and displays an error message)
5.7: Admin: Edit category (add category uses the same form)
5.8: Admin: Edit product (add product uses the same form)
5.9: Settings which can be editted
5.10: Admin: view categories
5.11: Admin: view products in category
5.12: Order e-mail received by both the website owner and the user who has order the product

That's it so far! Hopefully you'll enjoy this as much as I will

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBa CMPS: Dynamic Navigation menu - all your Custom CMPS Pages Natch vBulletin 3.0 Full Releases 44 19 Oct 2005 03:42

Comments
  #2  
Old 21 Jan 2009, 20:22
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Reserved for future use & screenshots!
Attached Images
File Type: png shop_home.png (207.2 KB, 849 views)
File Type: png shop_admin_view_products.png (7.0 KB, 235 views)
File Type: png shop_cart.png (20.8 KB, 429 views)
File Type: png shop_cart_updated.png (23.4 KB, 362 views)
File Type: png shop_checkout_form.png (12.3 KB, 349 views)
File Type: png shop_order_placed.png (9.6 KB, 276 views)
File Type: png shop_admin_edit_category.png (15.8 KB, 315 views)
File Type: png shop_admin_edit_product.png (30.4 KB, 450 views)
File Type: png shop_admin_settings.png (23.6 KB, 289 views)
File Type: png shop_admin_view_categories.png (9.9 KB, 260 views)
Reply With Quote
  #3  
Old 21 Jan 2009, 20:26
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
More screenshots
Attached Images
File Type: png shop_admin_view_products.png (7.0 KB, 184 views)
File Type: jpg shop_order_mail.jpg (74.0 KB, 345 views)
Reply With Quote
  #4  
Old 21 Jan 2009, 21:06
Butcher's Avatar
Butcher Butcher is offline
 
Join Date: Oct 2004
Real name: Dava
looks very nice will keep a check on this and see how it develops
nice work keep it up
__________________
www.the-redlion.org.uk- Football Manager Forum
Reply With Quote
  #5  
Old 21 Jan 2009, 21:12
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
hehe, thanks.

As I said already, I have very less time with school/work the upcoming time and I rather learn something more about auto install of DB-tables / Templates etc before I release a next version. However, it's pretty much a standalone script so what is the need for that,.. a decent installer would be handy despite of that though

Since I got used with PhpMyAdmin I hardly ever create a installer script anymore.. should be doing it actually
Reply With Quote
  #6  
Old 21 Jan 2009, 21:36
yousellstuff yousellstuff is offline
 
Join Date: Apr 2008
so this does work on vb 8 right?
Reply With Quote
  #7  
Old 21 Jan 2009, 21:41
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Only thing you actually need is vBA CMPS 3 or higher I guess, perhaps it'll even work on lower versions..

It uses vBA CMPS to bridge the script with vBulletin and some variables (bburl, bbtitle, userid) from the forums to create sessions and relations between tables and users. So in fact it should work on all version of vBulletin which use vBA CMPS as long as custom pages/modules are support.
Reply With Quote
  #8  
Old 21 Jan 2009, 21:47
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
@ Admins: should I crosspost this at vB3.6 and vB3.8 Modification forums ?
Reply With Quote
  #9  
Old 21 Jan 2009, 22:53
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Very nice plugin, will install later on!
__________________

Reply With Quote
  #10  
Old 22 Jan 2009, 09:39
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
2 upcoming features:
  • Show all orders in admin area (closed sessions)
  • Shop open session (sorted by start date) and have an option to delete sessions older than x days (to clean up database)
Reply With Quote
  #11  
Old 22 Jan 2009, 15:51
RS25com RS25com is offline
 
Join Date: Dec 2001
I'll be watching this one. However, you will need to add an integrated payment system for this to be really viable. PayPal and Google Checkout seem like great options to start.
Reply With Quote
  #12  
Old 22 Jan 2009, 15:53
bing11 bing11 is offline
 
Join Date: Feb 2003
very nice , but how can set Discount for a group?
Reply With Quote
  #13  
Old 22 Jan 2009, 16:07
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Discount for a group is not supported so far.. it can be added however ain't that big of a deal!

Right now it's discount for registered members
Reply With Quote
  #14  
Old 22 Jan 2009, 16:14
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Originally Posted by RS25com View Post
I'll be watching this one. However, you will need to add an integrated payment system for this to be really viable. PayPal and Google Checkout seem like great options to start.
Question right now is, where to store the money? It can go to one person but there can be more category owners So in everyway, the money will go to one person who has to split it up between al shop owners.

Than I also should add a mail to the website owner with the complete list of ordered products, just to make sure that some products are really ordered (+ back-end overview of orders ofcourse)
Reply With Quote
  #15  
Old 22 Jan 2009, 16:26
levimatt levimatt is offline
 
Join Date: Aug 2007
this should work with no vbAdvance installation (just vbulletin)?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:03.

Layout Options | Width: Wide Color: