Author Topic: Slide Mini Cart module VM2 - Free Download!  (Read 81864 times)

srajca

  • Jr. Member
  • **
  • Posts: 146
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #15 on: July 16, 2012, 23:50:25 PM »
great! thanks for the great extension.

Cindy_Moore

  • Beginner
  • *
  • Posts: 6
    • Website Design
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #16 on: August 08, 2012, 22:49:45 PM »
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
Cmoore-Moore Tech Solutions

holinorby

  • Beginner
  • *
  • Posts: 1
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #17 on: September 13, 2012, 15:21:00 PM »
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?

Linelab

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 451
    • Live Joomla! Template Builder
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #18 on: September 14, 2012, 10:12:53 AM »
Hi Holinorby, Please provide website url.

vladutz3000

  • Beginner
  • *
  • Posts: 1
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #19 on: October 10, 2012, 09:23:36 AM »
Hello.
How can i change the display name of the module?
Now it is MOD_VM2_CART_CART

Linelab

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 451
    • Live Joomla! Template Builder
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #20 on: October 10, 2012, 21:48:56 PM »
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.

lanthan

  • Jr. Member
  • **
  • Posts: 99
  • VM 2.6.10, J2.5.27, PHP5.5
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #21 on: October 19, 2012, 11:19:33 AM »
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

lanthan

  • Jr. Member
  • **
  • Posts: 99
  • VM 2.6.10, J2.5.27, PHP5.5
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #22 on: October 22, 2012, 11:19:40 AM »
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

Code: [Select]
// 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)
Code: [Select]
/**
            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.

lanthan

  • Jr. Member
  • **
  • Posts: 99
  • VM 2.6.10, J2.5.27, PHP5.5
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #23 on: October 29, 2012, 23:33:27 PM »
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
Code: [Select]
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 ;-)

maryswave

  • Beginner
  • *
  • Posts: 22
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #24 on: November 03, 2012, 22:28:54 PM »
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?? 

maryswave

  • Beginner
  • *
  • Posts: 22
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #25 on: November 03, 2012, 22:43:24 PM »
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??

lanthan

  • Jr. Member
  • **
  • Posts: 99
  • VM 2.6.10, J2.5.27, PHP5.5
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #26 on: November 10, 2012, 01:16:38 AM »
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

Code: [Select]
$$('.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';
});

Linelab

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 451
    • Live Joomla! Template Builder
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #27 on: December 08, 2012, 17:23:34 PM »
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

idlepress

  • Beginner
  • *
  • Posts: 17
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #28 on: December 08, 2012, 23:54:39 PM »
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.

idlepress

  • Beginner
  • *
  • Posts: 17
Re: Slide Mini Cart module VM2 - Free Download!
« Reply #29 on: December 12, 2012, 07:16:37 AM »
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?