Hi All,
Cart module display cart with product name, product image, product type and checkout link with Slideshow open effect.
Demo: http://www.linelabox.com/linelabox/?template_layout=6c75971a28ed7a6f409b4a532f41bd3f
Download Free Dropdown shopping cart module for VirtueMart 2: http://www.linelabox.com/joomla-modules/linelab-archive/category/2-free-joomla-extensions
Unzip vm2_cart_unzip_first.zip > Install module and Plugin > Publish plugin plg_system_vm2_cart > Go to Admin VirtueMart > Configuration > Checkout > Show product images set to Yes. Done!
Any comments would be appreciated.
Works pretty good took some playing with to get working properly. Where is the css for the drop-down?
Hi malibu2792, modules/mod_vm2cart/tmpl/default.php. Check module parameters.
Happy tuning ;)
Thanks a bunch I found it after inspecting with Firefox. When something is added to the cart the page scrolls down...How do you fix this?
Also, It would be nice to turn off the pop up message that is displayed from virtue mart...
I saw that your a developer any word on when the Fedex/UPS Api is coming out?
Hello,
Thank you for your module, I'll test it.
But on wich licence is it based ?
Is it GNU ? or do we have to pay something after the beta test period (not nice for beta tester in that case :-\)
You should write the licence term on the code comment. Right now we can do what we want.
It's also a way to protect your job.
Hope you'll keep it free :-)
If I'm wrong please tell me.
You may use this module for commercial or personal use, and customize it as much as you like. Licence GNU/GPL 3 for Beta and Stable version. Happy tuning. ;)
That's cool
Thank you :)
Very useful and nice, but while testing it, I found something not working: On the demo page, if you add products to the cart and navigate to other pages that have no VM components (ie. Using Joomla) the images get broken:
<img src="http://www.linelab.org/virtuemart-templates/"> <--- no image is passed.
Also, I added about ten products to the cart and found that when the cart container exceeds the page height, I have problems scrolling down where the "Show cart" link is displayed.
PD: Is there a way to disable the slide if cart is empty?
Hi Gerser, Thanks for bug report, very much appreciated! Bug will be fixed in new release.
Hi again, for some reason when a product is added to the cart the whole page scrolls down when the AJAX message pops up. You can take a look at it here www.vipstanchions.com also pictures stopped displaying. Thanks you very much for providing this for free. If I were you i would add a few more bells and whistle's to this mod and sell it. I would definitely buy! :D Let me know if you can help me with this,
Mini Cart module Updated. Tested J2.5.4 and VM2.0.4.
Happy downloading.
Ohh! didn't expect the update so soon! I'll try it :)
Bug on Frontpage, images not loading....
Its a fine idea, i hope for a fix !
Has this bug been fixed yet? I am also in a need of this. Even on the demo page here: http://www.linelab.org/virtuemart-templates/index.php/getting-started it isn't working properly. add a product to cart and then navigate to the page mentioned above and you will see that there's no image?
How can we fix this?
but thanks for the great product...
This bug will be fixed in the next release. ;)
great! thanks for the great extension.
Thank you for a really slick extension. I am getting this error on any page that is not virtuemart...any ideas?
Warning: unserialize() [function.unserialize]: Function spl_autoload_call() hasn't defined the class it was called for in /home/oldeclut/public_html/components/com_virtuemart/helpers/cart.php on line 93
Hello!
First, sorry may bad english :D
I try to use linelab shoplab templates with cart modul, but the cart module dosent works.
The modul dosent srcolle down, the name isnt seeing.
Must I do anyting in php files?
Hi Holinorby, Please provide website url.
Hello.
How can i change the display name of the module?
Now it is MOD_VM2_CART_CART
Hi, Open /www/language/en-GB/en-GB.mod_vm2cart.ini
Replace: MOD_VM2_CART_CART="Cart" to MOD_VM2CART_CART="Cart" bug will be fixed in the next release.
hi,
nice extension and i wanted to use it for a new store, but most of the mentioned bugs aren´t solved. is there any bug fix planed soon?
release 12/04/12 (folder date) build feb 23, 2012
or does anyone has solved these problems on his own?
+ navigation outside store, product images aren´t displayed
+ if cart is empty, empty display
+ after deleting all products using the button in mini cart, double text "empty cart" - if deleted on virtuemart checkout side, it is working correct
thanks in advance
solution for navigation outside store, product images aren´t displayed
as the links of the images aren´t stored in the vm database but dynamic generated you have to add config and vmimage class to the vm2 plug in:
..\plugins\system\vm2_cart\vm2_cart.php
line 11
// Loads VMConfig
if (!class_exists( 'VmConfig' )) require(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart'.DS.'helpers'.DS.'config.php');
VmConfig::loadConfig();
// Loads VMimage class.
if (!class_exists( 'VmImage' )) require(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_virtuemart'.DS.'helpers'.DS.'image.php');
and replace (not necessary)
/**
Line for adding images to minicart
**/
$data->products[$i]['image'] = JHTML::link($url, $product->image->displayMediaThumb('',false), 'title="'.$product->product_name.'"');
and it works fine outside virtuemart.
Seems to be this thread is dead. But nevertheless a quick and dirty solution for the problem, if the cart is empty, empty display
default.php changes, add replace from line 13 to 25 with the following code
window.addEvent('domready',function() {
var texter = $('total').innerHTML;
texter = texter.replace(/\s/g, "");
if (texter != "istnochleer.") {
document.id('vmCartModule').addEvent('mouseover',function() {
document.id('product_list').addClass('show_products');
});
document.id('vmCartModule').addEvent('mouseout',function() {
document.id('product_list').removeClass('show_products');
});
document.id('product_list').addEvent('mouseover',function() {
document.id('product_list').addClass('show_products');
});
document.id('product_list').addEvent('mouseout',function() {
document.id('product_list').removeClass('show_products');
});
};
This works for the German text at MOD_VM2_CART_CART_EMPTY="ist noch leer." For english text at MOD_VM2_CART_CART_EMPTY="Cart is empty." adjust the code in line 4 if (texter != "istnochleer.") to if (texter != "Cartisempty."). Spaces have to be removed! Like I said quick and dirty but works fine ;-)
Works fine however I was getting two modal popups one from the main cart and one from the mini cart. I turned off the modal popup and now I have no popups... hmmm it would be ok to have one pop and not two for me??
So I tried to add a little cart image just before Cart but ... I am not having success with that. What would be the best way??
Hi maryswave,
modal popup works fine by me. No idea what your problem can be.
And what do you mean with adding a little cart image before cart? And why do you want to do this?
I really didn´t get your problem.
Do you mean that the Mini Cart opens if you add a product, too? If you want to solve this just delete
$$('.addtocart-button').addEvent('click',function() {
document.id('product_list').addClass('show_products');
(function(){document.id('product_list').removeClass('show_products')}).delay(15000);
window.location.hash='cart';
});
The New version of Mini cart module will be available today.
All reported bugs fixed
Added new rounded layout
Check demo: http://www.linelabox.com/linelabox/?template_layout=6c75971a28ed7a6f409b4a532f41bd3f
This is almost exactly what I was looking for, but to much. I just want to display the cart total in a module. I don't want to list the products. Is there a way I can do this or a way I can edit your module to just show the total?
Edit: Actually this is just fine.
I do see an issue, though where the price doesn't update unless the page is refreshed. I have "Add to cart" buttons in modules on my Joomla site, it opens a lightbox of the cart and once that's close I'm trying to get the price to update on this module.
I figured out how to do what I mentioned in the previous post. One last thing... What do I edit to show a "View Cart" link next to either cart empty or the total?
Hey. Installed VM 2.0.16 and Joomla 2.5.8, the module does not work well when, is presented here is such an error
TypeError: datas is null
[Interrupts on this error]
if (datas.products> 0) {
This plugin has stopped working. The version 2.0.14 works fine. Fixed please.
Hi Olejenya, now tested without errors. :( Could you please provide more information? Website url, browser version etc...
Today I will install from scratch, and accomplish your goal tomorrow, mb problems in templates or my changes in the templates. Unfortunaly I'm testing on a local server. Thank you for responding so quickly.
Set to zero module and plugin does not work. Errors appear when you add or remove products. After rebooting the product page is then removed or added. Ajax does not work. exact same error
TypeError: datas is null
[Interrupts on this error]
if (datas.products> 0) {
Quote from: olejenya on January 02, 2013, 22:29:55 PM
Today I will install from scratch, and accomplish your goal tomorrow, mb problems in templates or my changes in the templates. Unfortunaly I'm testing on a local server. Thank you for responding so quickly.
Set to zero module and plugin does not work. Errors appear when you add or remove products. After rebooting the product page is then removed or added. Ajax does not work. exact same error
TypeError: datas is null
[Interrupts on this error]
if (datas.products> 0) {
install vm 2.0.16a no problems :)
Nice module! With the new plugin on VM 2.0.14 i get this error:
Fatal error: Cannot redeclare class VmImage in \wwwroot\administrator\components\com_virtuemart\helpers\image.php on line 181
With the old plugin i can't use the delete button and the images arn't show outside VM
Any idea?
Hi Sjorzzzie, Please completely uninstall the old plugin and module first and install the latest version of Mini cart module.
I've installed it, looks nice and easy, but it's transparent?
I've tried to change the png files but it did't help.
Is there someone who could help me?
Kind regards James
If you have a website in a subfolder, you must edit images path in css if necessary. :(
We will fix this issue in the next release.
I get "404 The requested product does not exist." message when click "Product details" button on Categorie page after Install and publish Mini Cart plugin and turn SEO. Could you please help to fix it? Thanks!
With:
Joomla 2.5.8(Search Engine Friendly URLs: Yes, Use URL rewriting: Yes, Adds Suffix to URL: No, Unicode Aliases: No)
Virtuemart 2.0.18a(SEO Disabled: unchecked, Seo Suffix: -detail, Translate Strings: unchecked, Use Product and Category IDs: unchecked)
Hi Thank you for this module. This is a module that I looking long time.
Question. Can I change font color of a "Your cart is empty" Display? and change it to cart image.
Thank.
Quote from: VirtueArtcz on January 22, 2013, 22:39:59 PM
If you have a website in a subfolder, you must edit images path in css if necessary. :(
We will fix this issue in the next release.
I have joomla installed in www.mysite.com/folder. I edited the 3 lines in the default.php as fallows: ("
/folder/modules/mod_vm2cart/botct.png") and so on. But its not working. Do i have to change anything else in the files from the module or plugin?
Hi Solti, Please provide website url. Thank you.
Edit: Solved
No reply to me anymore. :sop:
Hi Seraght, Please describe your problem exactly and provide website url. Thanks.
Hi,
i installed the Slide Mini Card on Joomla 2.5.8 with Virtuemart 2.0.12f .
Looks like the Card works, but i get an Error: Warning: Creating default object from empty value in vm2_cart.php on line 61
I try this on a Webserver and on my local PC with XAMPP.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Update 09 Feb
Ok the Problem with the Error / Warning solved - Errorlevel change in Joomla.
But i have new Problems.....
If the Cart is empty the Background Image looks good if i set the mouse on it....
but if i add a Product to the Cart there is a blank line with no Background under the Products bevor the Line "Show Cart" - see the attachet image
And if the plg_system_vm2_cart Plugin is enable i cant change the Produkt Catergories.
I displayd as fist Page the Categories Page and cant go in a Categorie. If i set the first Page to a Produkt Page, i can add the Product to the Cart and go back to the Categories List - and nothing more.... No entry in a Categorie....
Sometimes if i not in VM / a Product i cant remove a Item from Cart / extreme long wating Time bevore the Item is removed.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Update 11 Feb
I dont know where the Error is, but the Cart works fine in Version VM 2.0.12f
In VM Version 2.0.18a i have the Problems (see above Update 09 Feb)
Would be glad, if someone can help me !!
How can i edit the Module to work on all Pages and OUTSIDE VM ?
Can someone help me?
THX
MotD
[attachment cleanup by admin]
PUSH
Hi! After installing the Slide Mini Cart all the products in store were gone (deleted !?! and I have NO backup, :-[ ) and the following error reported Warning: Creating default object from empty value in C:\xampp\htdocs\joomla\plugins\system\vm2_cart
Any solutions? Thanks!
The VM default cart is disabled, using last version of VM and Joomla, XAMPP 1.8.1 [PHP: 5.4.7]
(http://s19.postimage.org/8nzbji36n/warning.png) (http://postimage.org/image/8nzbji36n/)
(http://s19.postimage.org/6xgai0lnj/warning1.png) (http://postimage.org/image/6xgai0lnj/)
Hello,
When i activate plg_system_vm2_cart i can only see the category's on the frontsite of my site. Once i click on a category I'm redirected to the category's so i get in a loop. When i deactivate plg_system_vm2_cart everything is working normal. I use Joomla 2.5.9 and VM 2.0.18a. Anyone a idea?
Solved! Just activate the module and deactivate the plugin and it all works just fine.
For those has problem with transparent background.
If put your shop in subfolder you must go to [modules/mod_vm2cart/tmpl/default.php]
put on every image source 2 dots.
default is: background: url("/modules/mod_vm2cart/cartpop.png")
after tip: background: url("../modules/mod_vm2cart/cartpop.png")
change:
line 83
line 88
line 129
:)
edit: i see problem if buy one item only. so it's better to put the full path of url
Hello, ive got some problems to displayy this very useful modul in my page.
please look at the picture, i want to display this modul on the top of my page but i see only a very small part of the modul, and also without this cart symbol and so on.
have you any ideas?
[attachment cleanup by admin]
Hi,
1. Currently any product_attributes are shown way below the product name.
Once a second item is added to the cart, it looks like product_attributes belong to the 2nd item & not part of the 1st item.
Can it be moved up & placed between thr product name & the empty image ?
2. Empty feature works but it is shown only after I refresh the page.
Can it be fixed ?
3. How to make the cart stay on screen longer ?
4. How to enable the popup only when there are products in cart OR maybe show inside the cart also the next message "MOD_VM2_CART_CART_EMPTY=....."
Thanks - Drukman.
I can't find the module download?
Thanks
I had an issue with this module.
It did not update the minicart if the page was not refreshed. Let me know how you find it.
//edit
I have tested the lates download version of this module on vm2.0.24 and it is working perfectly!
Quote from: ereallstaff on October 10, 2013, 11:36:56 AM
I can't find the module download?
Thanks
Free download: http://www.linelabox.com/joomla-modules/linelab-archive/category/2-free-joomla-extensions
Demo: http://www.linelabox.com/linelabox/
Hi Hutson, Can you please provide website url?
I tested the latest download version of this module on vm2.0.24 and it is working perfectly!
Apologies for any confusion I caused.
Hello VirtueArtcz, can I ask something ? (mam problem a jsem z nej uz nestastny). I am trying to make multilangual site .... I have downloaded vm2 cart ... when I add a product to the basket .... and I want to check out ... (obsah kosiku) ... I have for English language the right url like (href="/en/eshop-led-osvetleni/led-lighs/led-ceiling-lights/cart.html) but for the czech language (and another) I have url like href="/cs/component/virtuemart/cart.html?Itemid=0". Could You help me please ? I know joomla and virtuemart a bit but this is too much for me. I have another thing to ask if it is possible ... if I upgrade to vn 2.0.24 - vm2 cart loose the backgroug (doesn no load the url("/modules/mod_vm2cart/botct.png) - have ou heard about this ?
Diky predem. Thank You in advance.
Petr
Hi Peetee, Please use English only in this forum. (pro ceskou podporu pouzijte helpdesk) :) Please provide website url. Thank you.
I have problem, the cart overview is displayed on the right side of the page and not underneath the cart amount
(http://s13.postimg.org/ryguncjyf/Untitled.png)
Please provide website url.
PM with link and user/pass sent
Your Joomla template is responsive. Open ....templates/js_wright/wright/css/joomla25.css
Add:
#product_list {
right: 5%;
}
hmm... Thanks but it's seems to be overridden by this
#vmCartModule .show_products{
right:25px;
width:336px;
}
from the cart module. But I can of course change that..
I ddn't understand I have to search trough pages to find the module. Little bit weird ;)
You should call the module Linelab Virtuemart Cart, as it is confusing with normal virtuemart cart
I have tested
I need to use cache to improve website speed, as it's quite up in weight, I use both in configuration and with system - cache plugin enabled, by force.
When I use cache the problem is that also the Cart is cached, so f.e. I add a Product to cart, but the module shows always Empty Cart in latest visited pages, and that's quite bad as gets customer confusing.
Could you add an option maybe to update trough ajax on each product page loading?
Thanks
Hi, Please don't use the default VM2 Mini Cart module with the slide cart module.
I don't use this, I have deleted all module as imaged they could conflict
Thanks for the module!
I have a problem with the rounding of prices in the basket.
For example, I logged in as a shopper with 3% discount.
I go into the product, click the "add to cart" and get these problems:
1. The first time you add an item, the price is rounded, but after the decimal point is two zeros. Where did they come from?
2. Updating the same page and watch the prices changed in the basket. In the price appeared after the decimal point numbers (the price is not rounded)
Rounding prices should be taken from the VM settings. How do I fix mod_vm2cart/default.php for this?
http://softex.it-klub.ru/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1&virtuemart_category_id=8&Itemid=158#cart (http://softex.it-klub.ru/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1&virtuemart_category_id=8&Itemid=158#cart)
ps: sorry fom my english.
just a dead silence ... :(
Quote from: peetee on October 13, 2013, 22:51:12 PM
Hello VirtueArtcz, can I ask something ? (mam problem a jsem z nej uz nestastny). I am trying to make multilangual site .... I have downloaded vm2 cart ... when I add a product to the basket .... and I want to check out ... (obsah kosiku) ... I have for English language the right url like (href="/en/eshop-led-osvetleni/led-lighs/led-ceiling-lights/cart.html) but for the czech language (and another) I have url like href="/cs/component/virtuemart/cart.html?Itemid=0". Could You help me please ? I know joomla and virtuemart a bit but this is too much for me. I have another thing to ask if it is possible ... if I upgrade to vn 2.0.24 - vm2 cart loose the backgroug (doesn no load the url("/modules/mod_vm2cart/botct.png) - have ou heard about this ?
Diky predem. Thank You in advance.
Petr
Hello VirtueArtcz,
I did not have time to reply the last time I have ask about my problem .... Could You please help me to solve or identify the problem above, please ? I cant programm I am just a user. The link is: http://www.ledteslalighting.eu. Thank You in advance for your help. (Sorry for the Czech last time). Peetee
Rounding prices: solved for my case.
In file vm2_cart.php
Inside function prepareAjaxData() (line approximately 55)
add:
$round = VmConfig::get('salesPrice'.'Rounding',2);
(line approximately 89)
code:
$data->products[$i]['prices'] = $currency->priceDisplay($this->_cart->pricesUnformatted[$priceKey]['subtotal_with_tax']);
change to:
$data->products[$i]['prices'] = $currency->priceDisplay($this->_cart->pricesUnformatted[$priceKey]['subtotal_with_tax'],0,1,false,$round);
(line approximately 110)
code:
$data->billTotal = count($data->products)?$currency->priceDisplay($this->_cart->pricesUnformatted['billTotal']):JText::_('COM_VIRTUEMART_EMPTY_CART');
change to:
$data->billTotal = count($data->products)?$currency->priceDisplay($this->_cart->pricesUnformatted['billTotal'],0,1,false,$round):JText::_('COM_VIRTUEMART_EMPTY_CART');
Adjust the rounding of prices is now possible to: administrator - Virtuemart - Configuration - Pricing - Rounding Digits
hello VirtueArtcz,
I use your module Slide Mini Cart module VM2 on my website http://XN----7SBALCMGFJ8ABR4R.XN--P1AI
now I have problem with cart
if you add product to cart, you can see change total sum, but onmouseover cart not show
Is it javascript conflict? or bug?
Sorry I look all over 7 download pages and can't find where is the module.
Is this a free module ?
Where I must look ?
Thank you.
http://www.linelab.org/download?start=6
Minicart module total downloads: 25 589
Happy downloading ;)
Thank you,
I was so "blind" ... but I have an excuse, I was super tired.
I hope I'm number 25590 download ;)
Thanks it again,
Keep up the good work
Hi,
I have another problem. I just setup multilanguage, everything is ok, but when I click show cart in Romanian it gives me 404 error.
Disabled SEF in Joomla working, created one menu to wich assigned Cart working.
What should I do ? I need SEF to be on.
Can you give a direction ?
Thank you.
Hi Creativepixel, Can you please provide website url? We tested Mini cart module and it works fine with SEF url.
Hi I just solve the problem.
In the default menu assigned to All languages I created one menu assigned to shoping cart.
After that start working.
Thank you for your support,
Hi, will be compatible with vm2.1.1??
Yes of course...
Quote from: VirtueArtcz on March 10, 2014, 19:26:40 PM
Yes of course...
Very good. And then immediately updated and so that's a problem with the basket. It is like one of the most important of features in store))
Thank you for the extension.
I have started using this extension it works pretty well. Just I can't see the images and the delete button doesn't seem to work...and lastly how do you make the background not transparent?
Regards Sam
Hi, please check http://www.linelabox.com/support/dropdown-shopping-cart-module-for-virtuemart-2-now-available-for-free new version available. ;)
Thank you very much for the quick and prompt reply :)
I have a little problem.... can you please check this out. When the cart is my homepage it doesn't show and comes up with com_virtuemart.... like in this image.
(http://i57.tinypic.com/znm1i8.png)
Can this work with joomla and vm 3?