Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
microCART: Shopping System for vB4 Details »»
microCART: Shopping System for vB4
Version: 1.1.4, by micheal332001 micheal332001 is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Major Additions - Version: 4.1.9 Rating:
Released: 01-06-2011 Last Update: 06-12-2011 Installs: 227
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

microCART is a fully featured Shopping Cart for vBulletin 4.x, with support for Downloadable & Pysical Products, Subscriptions and Services, without missing any feature even from commercial scripts. Installation is very easy, you just need sometime for the initial configuration.

Edit: Please note - Currently this mod is only compatible with vBulletin 4.1.9 and below, if your using vBulletin 4.1.10 then the modifications current version released here (1.1.4) is not suggested for use. - TheLastSuperman

1.- Highlights
  • Supports Downloadable products
  • Since version 1.0.3 supports Physical products too!!
  • Supports Subscriptions (Even Reccuring)
  • Supports Services
  • Ability to upgrade usergroup per product
  • Unlimited depth levels of categories
  • Unlimited Products
  • Supports Renewals
  • Ability to Add Orders manually
  • PayPal & 2CO payments
  • Since version 1.0.4 support payments with ccBill (Credits to kastak)
  • Supports AddOns
  • Support Special Deals
  • Unlimited Screenshoots per product
  • Unlimited Files per product, so the customers can download previous versions
  • Unlimited Agreements
  • Customers (and only those who have bought that product) can rate and review it.
  • Admin can turn On/Off the Reviews per product
  • Uses HTML Editor.
  • Since version 1.0.5 support multiple Tax levels.
  • Since version 1.0.5 support Shipping Zones with unlimited shipping choices per zone.
  • Since version 1.0.5 supports Delivery locations (unlimited depth, eg Country, State, Area with different setup for Tax and Shipping per category.
  • Since version 1.0.5 customer must enter his details to finalize the order.
  • NEW!! Since version 1.0.6 supports Auto Tax calculation.
  • NEW!! Since version 1.0.6 supports Auto Shipping calculation.
  • NEW!! Since version 1.0.5 supports Invoice creation.
  • NEW!! Comming Soon Block.
2.- Installation
  • Download and unzip microCART.zip file
  • Upload all the files in your site keeping the same structure. eg cart.php must be on the same level as your forum.php
  • CMOD 777 the directories:
    • microcart
    • microcart/photos
    • microcart/photos/thumbs
    • microcart/photos/tmp
    • microcart/editor/files
    • microcart/editor/flash
    • microcart/editor/media
    • microcart/editor/photos
    • microcart/pdf
    • microcart/fonts
    • microcart/images
  • Login to your admincp and import product-microcart.xml
3.- Configuration
  • First of all you need to setup microCART General Options. The most important option is to set the path to the directory where you'll store the files. For security reasons you must create a directory over the public area. Then write the full path in the options. Don't forget the trailing slash at the end. Example:
    • /home/username/downloads/
  • Setup Usergroup permissions. Available options are:
    • Can access the store
    • Can order
    • Can Moderate. Please note that, as a way to bypass the limitation of having vB editor in admincp, I've moved the product descriprion, system messages and agreements to fronend. But only those who can moderate can access this area, and only for modifying the text. Nothing more.
  • Setup Categories and Subcategories for your store.
  • Setup your Agreements (at least one)
  • Start adding products but from AddOns and Services. It will helps you to save time, as when at a later time you add a main product, you can choose the addons.
  • To work properly with HTML editor you need to edit settings.php locating at: microcart/editor/assetmanager/ and set the corrects paths.
4.- Product Options (Configurations)

In version 1.0.3 has been added support for configurable options. Not just simple text choices, but options that can increase/decrease the total price. That's why you need to pay extra attention on entering these options to avoid pricing mess.

First of all, you can find these options as "Extra Options" on the droplist on the right of each product (AdminCP). By choosing it you'll get a list of all available configurable options for the specific product. You can Edit and Delete it, or you can change the display order. Click "New Extra Option" to add one.

There is no need for explanation of title. Write there anything that you want. Examples of configuration options are: Color, Size, Ram, Hard disk etc. So let's write Size. In the box below you must add all the available options keeping the format:
Amount|Name

Examples:
  • 0|Normal : This option dosen't changes the product's price and it will appears as: Normal
  • 15.30|Large : This option increases the price by 15.30 and it will appears as: Large (+$15.30) ... The currency symbol is the one that you've setup. DON'T NEED TO ENTER CURRENCY SYMBOL HERE
  • -7.50|Mini : This option decreases the price by 7.50 and it will appears as: Mini (-$7.50). ONCE MORE: DONT ADD CURRENCY SYMBOL.
5.- Product Terminology
  • Price: Is the normal price that you're selling a product (eg 49.95)
  • Discount: Is the amount that you're giving as discount. eg if you place 4.95 here the price will appear as $49.95 $45.00
  • Special (Bundle) price. Currently not in use
  • AddOns. Are products that someone can order in the same form (eg Installation, Brand Free etc).
  • Special Bundle. Currently not in use
6.- Understanding Shipping Zones
To understand Shipping fields (Base weight, Base fare, Extra weight, Extra fare), you must know how the companies (at least the most of them) are working. They're saying: Till 3 kilos the rate is $15. More than 3 kilos you must add $3 per 500gr (1/2 kilos). In this example you must setup:
  1. Base weight 3000 (in grammars) or 3 (in kilos)
  2. Base fare 15.00
  3. Extra weight 500 (in grammars) or 0.5 (in kilos)
  4. Extra fare 3.00
  5. Please note to use the same as the definied in the general option weight unit. Setting in options kgr and here grammars is the best way to mess your shop.
7.- Friedly notes
  • Please let my copyright link in place. Thank you.
  • When rating, please remember that you're rating the script and not me as a person. Thank you.
  • Don't spam this thread with comments about my personality. Comment my work only. Thank you.
8.- Demo9.- Warning

The included HTML Editor is commercial, so you can use it ONLY within microCART directory.


UPGRADING

To upgrade just upload the new files then follow
2.- Installationwith Allow Overwrite set to YES


CHANGE LOG

  • Added Comming Soon Block
  • Added view users invoice within admincp
  • Added usergroup controled discounts
  • Added stock level control
  • Added coupon system
  • Changed the invoice system to work better.
  • Added forum home side block. (Download the product-microcart_forum_block.xml and Install like a new product)
  • MICROCART_114_01022011.zip has no affects added to my account
  • MICROCART_114_240211.zip has a fade in affect on my accounts pages.
  • added some java for the my accounts page and the product view page. So you dont have to re-fresh the page all the time. Updated: 28/02/2011
  • Fixed the problem with the euro within the add-on options.
BUG FIX
  • Fixed error within the admin php file on line 23.
  • Updated the forum side block ( Please let me know if you are still having problems with this. Updated Date 22nd Fed 2011)
  • fixed problem with the prices. UPDATED Date 22nd Apr 2011 to upgrade just upload the files as its only the cart.php and microcart/functions.php files that have been updated.
  • Fixed problem with the add-ons prices. Updated 25th Apr 2011 to upgrade just upload the cart.php file
  • cart.php updated again to fix the problem with the add-ons when changing the qty within the cart.
  • Fixed problem with edit invoices in admincp
  • Fixed a problem with large price formats.
  • Fixed problem with option prices (11-05-2011)
  • Updated the files for the new editor not tested Updated 13/06/2011.
Arabic Language File Download Here

Download Now

File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
mohammadxxx, Romamo

Comments
  #102  
Old 01-17-2011, 05:26 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smiler2009 View Post
Hi all,

Ok, we went live with the shop last night and within 20 minutes had an email titled URGENT...URGENT...URGENT from a user saying that when he went on the eshop, there were other users details already in the cart complete with their orders. When he tried a second time a different set of details were in the cart complete with their order. He finished off by saying he would be reporting me to the UK Data Protection Registrar (which is nice). When I logged into the eshop, sure enough there was a new set of data from another user already filled in and seven items (accumulated from the others I presume) in the cart.

Nothing like this came out in our testing but it was just local i.e. my wife and I on separate machines but the same IP address. Luckily this all happened very late at night and I managed to disable the shop before too many users had tried it, fortunately no-one had then gone on to Paypal and tried to pay so I won't be looking at refunds at least.

Has anyone else seen anything like this or can shed any light on it?


Feature Request:- A big red "shut the shop" button, preferably easy to find

Regards, Jeff.
Hi there

i have tryed to make this happen and cannot make this problem show its self to me.
Can you please let me know where the other users details showen was it just in the cart or was the users address info someone elses.

Please give as much info as you can so that i can fix this problem if there is a problem.
Reply With Quote
  #103  
Old 01-17-2011, 04:45 PM
Smiler2009 Smiler2009 is offline
 
Join Date: Apr 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Micheal,

I think what happened is that one of our members entered the e-shop, added an item and then went to checkout, filled in their address details etc and then went to preview the order , probably to get an idea of postage cost but then crucially, never made payment.

The next user comes along and does the same but when they go to checkout, the first users name and details are already filled in and the basket contains the first and second users items and so on. Because of this they just jump out of the e-shop and back to the forum. Next user gets the previous users details and on it goes.

I saw it for myself when the problem was reported to me, I logged in on my wifes machine and went to buy an item, when I clicked on checkout, the guys address etc. was already in the boxes and there were seven items in the cart.

As I say, both my wife and I tested and tested over the last week and could not make this happen, it only started when we went live.

My wife and I are the only admins, we have no moderators.

I allowed access to all groups.

Is this enough info, if you need more just ask.

Regards, Jeff.
Reply With Quote
  #104  
Old 01-17-2011, 05:07 PM
Smiler2009 Smiler2009 is offline
 
Join Date: Apr 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Micheal,

I think I found the problem.

My wife and I are both Admins, everyone else are in four groups:

Registered Users
Lurkers
Inactive members
FOMS

As soon as the other groups were enabled the problem arose.

It seems that if a member of one group goes onto the shop and then a member from a different group goes on after, the problem occurs.

We have just replicated this by adding a new member, "test user" with the usergroup FOMS as the primary group.

I as an Admin go onto the site, order an item and then quit to the forum prior to the payment

I log out and then back in as "test user", go to the shop, and my basket already has one item, I order an item, when I go to checkout, my details (address etc.) from the previous session are there.

I change the details to match fictional details of "test user" and then quit out to the forum.

My wife logs in on her machine as Admin, goes to the shop and there are already two items in the cart. She buys an item and on going to checkout, "test user" details are in the boxes and there are now three items in the cart.

If just my wife and I (Admins) buy items, the system works as it should, only when a different usergroup is introduced does the problem arise. Also, in a panic, when the problem was reported, the fastest way to stop the shop was simply to disable it, when I re-enabled it, the cart was cleared.

That is exactly what we are seeing here, hope this helps.

Regards, Jeff.
Reply With Quote
  #105  
Old 01-17-2011, 07:02 PM
Smiler2009 Smiler2009 is offline
 
Join Date: Apr 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Micheal,

For some reason and I don't know why, the "inactive user" group we created caused the problem. I've stopped access to the eshop from that group and all seems fine again.

Sorry for the panic

Jeff.
Reply With Quote
  #106  
Old 01-18-2011, 04:35 PM
janaf janaf is offline
 
Join Date: Dec 2009
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Just installeed Microcart and would like to test drive and gradually replace my old shop. I would like to to disable the header tab. Can I do that via ACP or do I need to delete the code for the tab?

Thanks
Reply With Quote
  #107  
Old 01-18-2011, 06:30 PM
Lomak Lomak is offline
 
Join Date: Mar 2010
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by janaf View Post
Hi,

Just installeed Microcart and would like to test drive and gradually replace my old shop. I would like to to disable the header tab. Can I do that via ACP or do I need to delete the code for the tab?

Thanks
You can disable this until you are ready via the ACP.


'Plugins & Products' -> Manage Plugins'

Look for:

Product : microCART

Then untick

microCART: Tab Menu

And Save


Hope this helps
Reply With Quote
  #108  
Old 01-18-2011, 07:44 PM
janaf janaf is offline
 
Join Date: Dec 2009
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #109  
Old 01-18-2011, 07:51 PM
janaf janaf is offline
 
Join Date: Dec 2009
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I get three error messages

Deprecated: Assigning the return value of new by reference is deprecated in /.../forums/cart.php on line 342

Deprecated: Assigning the return value of new by reference is deprecated in /.../forums/cart.php on line 1971

Deprecated: Assigning the return value of new by reference is deprecated in /.../forums/cart.php on line 2069

Any ideas?
Reply With Quote
  #110  
Old 01-18-2011, 09:45 PM
Lomak Lomak is offline
 
Join Date: Mar 2010
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really sorry, You may have to wait for Michael.

Have you customised anything yet

Does it go back to normal if you re-tick the plugin?

_ The only reason I responded is because I know Michael may not be around till Wednesday
Reply With Quote
  #111  
Old 01-19-2011, 02:19 PM
ckgreenman ckgreenman is offline
 
Join Date: Feb 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lomak View Post
_ The only reason I responded is because I know Michael may not be around till Wednesday
Ahhh. I was wondering if he'd gone away for a few days,
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06745 seconds
  • Memory Usage 2,367KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete