Quantcast
Channel: Webkul Blog
Viewing all articles
Browse latest Browse all 5537

Joomla Virtuemart MarketPlace Membership

$
0
0

Joomla Virtuemart MarketPlace Membership : By using this Component admin can restrict seller to upload product to his account . Seller can add product after paying to store that is set by admin.

This module is an add-on of Marketplace Module . To use this module you must have installed first Marketplace Module.

Joomla Virtuemart MarketPlace Membership
Joomla Virtuemart MarketPlace Membership

Download Procedure: Joomla Virtuemart MarketPlace Membership (Component) is working in the Joomla version

1 – Joomla 1.6

2 – Joomla 1.7

3 – Joomla 2.5

When you’ll download the Joomla Virtuemart MarketPlace Membership extension you’ll get one zip files (com_mpmembership) use it. Contact us http://webkul.com/ticket if you have any trouble in downloading the extension.

Features:

★ Seller need to pay upfront fee to become seller

★ PayPal API supported for membership upfront payment

★ Admin can define set amount to pay for add product for seller.

★ Admin can restricted to a number of product that is set for certain amount pay.

★ Admin can set number of month for expire time.
★ Admin can add more than one accounts and seller can use as own accordance.

How to Use:This Extention is really very handy to use you just need to care about the things.

Steps for installing Virtuemart Marketplace Membership:

Install Component on joomla end and enable it.

Component Name : com_mpmembership

Installation– Make Sure Marketplace is already installed after that you have to install Joomla Virtuemart Marketplace Membership component and Configure it.

Note**– If your markeplace version is below 2.1 then you need to add some code the code is given below OR If you are using Marketplace version 2.1 or above then you Don’t Need to add the code in MarkePlace.

File Address:- /public_html/sitetemplate/components/com_marketplace/models/productsave.php

if($vmproductid){

Core Code MarkePlace
else
{
/*****You need to add Marketplace Membership addon code here *******/

$extention= “SELECT enabled FROM `#__extensions` WHERE `name` = ‘com_mpmembership’”;
$db->setQuery($extention);
$extention_check = $db->loadResult();

if($extention_check == “1″) {

$addon= “SELECT * FROM `#__mpmembership_members` WHERE `seller_id` = “.$created_by;

$db->setQuery($addon);

$addon_info = $db->loadObjectlist();
$checkon = $addon_info['0']->checkon;
$no_of_products = $addon_info['0']->no_of_products;
$expiration_date = $addon_info['0']->expiration_date;
$product_added = $addon_info['0']->product_added;

if($checkon != ‘Time’)
{

if($product_added >= $no_of_products && $no_of_products != “Unlimited”)
{
$msg= JText::_( ‘ERROR_MEMBERSHIP_PRODUCT’ ) ;

global $mainframe;
$mainframe =& JFactory::getApplication();
$mainframe->redirect(JRoute::_(JURI::root().’index.php?option=com_mpmembership&view=membership’), $msg );

}

}

if ($checkon != ‘Products’ && $expiration_date != “Unlimited”)
{
$current_date = date(“Y-m-d”);

if(strtotime($current_date) > strtotime($expiration_date))
{

$msg= JText::_( ‘ERROR_MEMBERSHIP_PRODUCT’ ) ;
global $mainframe;
$mainframe =& JFactory::getApplication();
$mainframe->redirect(JRoute::_(JURI::root().’index.php?option=com_mpmembership&view=membership’), $msg );
}

}

}// extention check

/******** Marketplace Membership addon code end ********/

Core Code MarketPlace

$success = $db->query();

if($success){

/****you need to add MEMBERSHIP ADDON code here*************/
if($extention_check == “1″) {
$product_added = $product_added +1;
$query_addon_membership = “UPDATE `#__mpmembership_members` SET `product_added` = “.$product_added.” WHERE `seller_id` =”.$created_by ;
$db->setQuery($query_addon_membership);
$db->query();
}

/******************MEMBERSHIP ADDON code end**************/
Core Code MarkePlace

Backend Component Configuration:-

Step 1:- Click on the Component

Joomla Virtuemart MarketPlace  Membership

Step 2:- Click on the Accounts.

 Joomla Virtuemart MarketPlace Membership

Step 3:- Click on the New to make a new Account.

 Joomla Virtuemart MarketPlace Membership

Step 4:- Set all the details.

 Joomla Virtuemart MarketPlace Membership Joomla Virtuemart MarketPlace Membership

Step 5:- Click on the Mpmembership to view the details of all the members.

Joomla Virtuemart MarketPlace  MembershipJoomla Virtuemart MarketPlace  MembershipJoomla Virtuemart MarketPlace  MembershipJoomla Virtuemart MarketPlace  Membership

Frontend View

Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.

Frontend View  Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View  Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View  Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.

Frontend View  Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.Frontend View Step 1:- Firstly You have to set Membership Registration Menu and Membership Payment Menu.

Step 2:- Click on the module manager.

Joomla Virtuemart MarketPlace Membership24Joomla Virtuemart MarketPlace MembershipJoomla Virtuemart MarketPlace Membership

Joomla Virtuemart MarketPlace Membership

Joomla Virtuemart MarketPlace Membership

Joomla Virtuemart MarketPlace MembershipJoomla Virtuemart MarketPlace MembershipJoomla Virtuemart MarketPlace MembershipJoomla Virtuemart MarketPlace MembershipJoomla Virtuemart MarketPlace Membership

Frequently Asked Questions (FAQ’s)
For any query or doubt feel free to contact us:
Shoot a ticket – http://webkul.com/ticket


Viewing all articles
Browse latest Browse all 5537

Trending Articles