JoomEXT:eCommerce

From Kb_JMY(晉明夷)

Jump to: navigation, search

Joomla Extensions on eCommerce

Contents

eCommerce

Payment Systems

FlashPay

  • Ref: Flash pay adds paypal flash cart to your Joomla content
  1. joomla.org: flashpay
  2. The "flashpayreadme.html" file as included in the FlashPay Mambot.


  • USAGE:
{flashpay buynow|item name|price|config}
1. Buy Now, Donate, Cart
2. item name, name of the product
3. Price, item price
4. config, the url to the config.xml file, use default to use the default config xml file
e.g.:
  1. {flashpay buynow|ACME ROCKET|1.00|default}
  2. {flashpay donate|ACME ROCKET|1.00|http://ysite.com/donateconfig.xml}


  • Installation: <-- Not successful as of k06_1128(Tue)
  1. Download install "bot_flashpay.zip" and activate the mambot on your site.
  2. Edit "paypal_config.xml" as included in the mambot file and upload it to the directory: <Joomla Root>/mambots/content/
  3. Or rename it for additional configurations -- however, be noted to insert full path to the mambot tag:
e.g {flashpay buynow|ACME ROCKET|1.00|http://yoursite.com/paypal_config_a1.xml}


FAQ(FlashPay)


Shopping Cart (VirtueMart)

Installation

The complete VirtueMart Package, "VirtueMart_1.0.7-COMPLETE_PACKAGE.zip", contains 14 addons. Install, in sequence as listed, one by one, for all the 14 addons to complete the installation of VirtueMart. [Remarks: If necessary, refer to "Automatic Installation" of "installation.pdf" included inside the package for more information.]


Be remembered to publish the modules and mambots after installations, otherwise they will NOT be visible in the frontend.


One component and one Main Modules

  1. com_virtuemart_1.0.7.tar.gz -- After installation click "install sample data"
  2. mod_virtuemart_1.0.7.tar.gz -- Shows VirtueMart Categories, the Cart, a Product Search Field, an Administration Link, an Account Maintenance Link and a link to the Download Page


The 10 Additional Modules

  1. mod_productscroller_1.0.7.tar.gz
  2. mod_virtuemart_manufacturers_1.0.7.tar.gz -- Shows a List of Manufacturers, so you can browse Products of the chosen Manufacturer.
  3. mod_virtuemart_allinone_1.0.7.tar.gz -- Shows the newest/featured/TopTen best selling/random products from your VirtueMart.


  1. mod_virtuemart_latestprod_1.0.7.tar.gz
  2. mod_virtuemart_featureprod_1.0.7.tar.gz
  3. mod_virtuemart_topten_1.0.7.tar.gz
  4. mod_virtuemart_randomprod_1.0.7.tar.gz
  5. mod_product_categories_1.0.7.tar.gz -- No Need, has installed in "mod_virtuemart_1.0.7.tar.gz"
  6. mod_virtuemart_cart_1.0.7.tar.gz -- No Need, has installed in "mod_virtuemart_1.0.7.tar.gz"
  7. mod_virtuemart_search_1.0.7.tar.gz -- No Need, has installed in "mod_virtuemart_1.0.7.tar.gz"

The 2 Mambots(1 Search,1 Content)

  1. bots_mosproductsnap_1.0.7.tar.gz ------- Displays product figure/price/add-to-cart link in Joomla Content Page.
  1. bots_virtuemart.searchbot_1.0.7.tar.gz --- Performs a search on the product table and delivers search results for Joomla's / Mambo's site search.

Add Menu items

  • Add Menu items for Product Categories of VirtueMart
  • Just upload the 5 files inside: "virtuemart_menu_addon.tar.gz"
  • to the <Joomla Root Directory> and explode, the 5 files will be put into the directory:
<JoomlaDirectory>\administrator\components\com_menus\virtuemart_category

  • Simply delete all these files when you want to uninstall them.

Installing Language files for Virtuemart

  • Just upload the language files, e.g.:
  1. simplified_chinese_(utf-8)_a1.php
  2. and traditional_chinese_(utf-8)_a2.php
to the following directory:
<Joomla Directory>/administrator/components/com_virtuemart/languages
  • VirtueMart automatically chooses the language file of the global language you have set in the Joomla global configuration.


Multilanguage Shop (Joomla + VirtueMart + Joom!Fish)


If you want to have a multilanguage shop, you need to do several things.

1. You must have version of Joomla! 1.0.9 - download from http://www.joomla.org
2. You must have installed VirtueMart 1.0.5 - download from http://www.virtuemart.net
3. You must have installed Joom!Fish 1.7 Stable - download it from http://www.joomfish.net
[NOTE] - Even Joom!Fish contains bots and module, it is installed at ONCE as a component. Please verify before install that your mambots/system folder has permitions to write in.
4. Install the languages you want to use in your Joomla! - Find all available languages by clicking here.
5. Add the VirtueMart Translations you are going to use in administrator/components/com_virtuemart/languages
6. Configure the languages in Joom!Fish in the standard way. Look at http://www.joomfish.net if you experience problems.
7. Add your products in the normal way in VirtueMart
8. Add to the folder administrator/components/com_joomfish/contentelements/ the files contained in "Joom!Fish-VirtueMart-Support.zip" which can be downloaded from Joomla-bg.com and then uploaded easily with the Joom!Fish Content Element Installer.
"Joom!Fish Content Element Installer" ( com.jfcei.zip ) can be downloaded from here. All these files must be uploaded one by one and NOT AS ZIP.
9. Open the translation feature of Joom!Fish. Choose, what to translate from the dropdown and start translating the products, manufacturers, whatever.
10. Publish the translations.
That is it.


Using tabs and slides in product description

  • JoomlaWorks.gr: "bots_plugin_jw_tabs_slides_2.2.zip"
  • Virtuemart.net: "VirtueMart_1.0.9-COMPLETE_PACKAGE.zip"
  • Methods: <--- Still Not Tested!
  • Locate the file: "???/shop.product_details.php" or extract it from:
-> "VirtueMart_1.0.9-COMPLETE_PACKAGE.zip"
-> "com_virtuemart_1.0.9.tar.gz"
-> "admin_files.tar.gz"
-> "shop.product_details.php"
  • Edit your shop.product_details.php file and change this line:
/** Get the CATEGORY NAVIGATION **/
  • To this:
//AK> allow for mambots
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$row->text = $product_description;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
$product_description = $row->text;
//AK< 

/** Get the CATEGORY NAVIGATION **/
  • upload the file back to server -> That's it!


  • You can do the same for Shop Description
-> Locate the file: "<joomla directory>/administrator/components/com_virtuemart/html/shop.index.php"
  • Go to file end and find the following two lines:
</table>
<?php echo $vendor_store_desc;  ?>
-> Change it to as follows:
</table>

<?php
//AK> allow for mambots
global $_MAMBOTS;
$_MAMBOTS->loadBotGroup( 'content' );
$row->text = $vendor_store_desc;
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true );
$vendor_store_desc = $row->text;
//AK<
?>

<?php echo $vendor_store_desc;  ?>


FAQ(VirtueMart)

Bugs(VirtueMart)

Cannot switch vm1.0.10 Language w/Joomfish, pls.help!

  • Solution: Locate the file "virtuemart_parser.php" in:

<joomla directory>/components/com_virtuemart/virtuemart_parser.php

  • Insert these codes at about line40:
global $mosConfig_lang;
$JfishLang = $mosConfig_lang;
-> and at about line 60 respectively:
$GLOBALS['mosConfig_lang'] = $JfishLang;
-> That is:
/*********** At about line40: Insert these two lines **********************/
global $mosConfig_lang;
$JfishLang = $mosConfig_lang;

/*********** before the codes ****************/
if( !defined( '_VM_PARSER_LOADED' )) {
	global $my;
	$_REQUEST['Itemid'] = intval( mosGetParam($_REQUEST, 'Itemid', 0) );
	$page = mosgetparam($_REQUEST, 'page', "");
	$func = mosgetparam($_REQUEST, 'func', "");

	if( $my->id > 0 ) {
		// This is necessary to get the real GID
		$my->load( $my->id );
	}

	if( !file_exists( $mosConfig_absolute_path. "/administrator/components/com_virtuemart/virtuemart.cfg.php" )) {
		die( "<h3>The configuration file for VirtueMart is missing!</h3>It should be here: <strong>"
		. $mosConfig_absolute_path. "/administrator/components/com_virtuemart/virtuemart.cfg.php</strong>" );
	}
	
	
	// the configuration file for the Shop
	require_once( $mosConfig_absolute_path. "/administrator/components/com_virtuemart/virtuemart.cfg.php" );

/*********** At about line60: Insert this line **********************/
	$GLOBALS['mosConfig_lang'] = $JfishLang;



Personal tools