Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - CoolMart (SKU# FLEX-00014)

TOPIC: Shopping Cart - Remove Button Does Not Work

Shopping Cart - Remove Button Does Not Work 7 years 10 months ago #6966

Hi, the remove button does nothing in Chrome, but in IE it works (how odd I would have expected it the other way around).
dev.campandclimb.co.za
Actually it does work but not immediately - it leaves the product there.
If you visit the cart it is then empty
Last Edit: 7 years 10 months ago by J Fontyn. Reason: update
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 10 months ago #6982

Hi,

Can you please try it in our DEMO as well:
flexiblewebdesign.com/virtuemart-2-template-coolmart

Are you seeing the same failure in our DEMO as well?

Regards,
Support.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 10 months ago #6984

no it is ok on your demo. For me I have to navigate away from the page..
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 10 months ago #6986

Then it must be a conflict issue that is causing the problem, i can't say anything without seeing it.
Did you recently install a plugin/module to your joomla?

Provide me your website URL to let me investigate.

Regards.
Support.
Last Edit: 7 years 10 months ago by Support.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 10 months ago #6988

dev.campandclimb.co.za
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 10 months ago #7009

Hi,

I browsed your website with the Chrome browser but I didn't see any problem.
There was no functionality problem by adding/removing products to cart.


Attachment ScreenShot2013-10-27at4.48.35AM.png not found



Attachment ScreenShot2013-10-27at4.48.46AM.png not found



There is a delay (especially while deleting the product) but it is related to speed of the JSON AJAX processing, which is handled by Virtuemart core files. Our module absolutely don't touch the process. Maybe putting a "loading" animation once the "delete" button is clicked would be a nice idea though, so the visitors will understand that the product will be deleted by itself after gets loaded.

I am writing down this feedback for considering on the next version.

Regards.
Support
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #8951

Add me to the list for having this issue too. Infact, if I add an object to the cart, the popup will then come up saying continue or cart, if I hit continue, then the page will freeze and eventually crash with 'long running script' issue. It doesn't happen every time though. I can't get it to be consistant
Last Edit: 7 years 6 months ago by Chris Simmons.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #8963

Hi Chris,

Take a look at this blog post:
www.flexiblewebdesign.com/blog/speed-up-your-virtuemart-to-avoid-failure-to-add-product-to-cart/

Also provide me your website URL to let me see that "long running script" problem. Because it is a very different thing. It must be caused because of javascript undefined variable (or something else). I need to see your website.

Regards,
Support/
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #8973

Consider adding a preloader like the one you add when you choose a payment option for example. The thing is that no user will understand that the product is being removed which makes it quite serious.

Me myselft didn't notice that the product is removed and clicked it 2-3 times to see what's going on
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #8979

www.abtcomputers.com.au.

It happens sometimes. I have tried jQuery easy, which breaks the front page image rotator. but outside of that didn't improve the cart. Also looking the chrome and firefox, it isn't displaying any doubling up of jquery. Got me stumped
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #8988

Hi Tomek,

You may consider purchasing our newly released Dropdown Shopping Cart module (standalone module, it is not the same that comes with the CoolMart):
www.flexiblewebdesign.com/Virtuemart-Modules/Virtuemart-DropDown-Shopping-Cart

which has the "preloader" icon upon removing items from the cart.
See the DEMO: demo.flexiblewebdesign.com/~dropdown/

And it is offering more advanced features.

Regards,
Support
Last Edit: 7 years 6 months ago by Support.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #8993

Unfortunatly, changing that module won't solve everything. Slect shipment won't display options in cart for me too unfortunately

EDIT:

I have found the tmpl=component won't work on my site.
www.abtcomputers.com.au/shopping/cart/edit_shipment?tmpl=component
I know that this is different to the shopping cart issue, and I can start a new thread if you like, but I honestly thought they might be related.

EDIT 2: Virtuemart SEO was causing the issue. Disabling SEO in Virtuemart corrected both postage selection, quicklook AND the shopping cart. Which really sucks! Fixes functionality, makes for ugly product names.....
Last Edit: 7 years 6 months ago by Chris Simmons.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #8999

Hi Chris,

I looked at your website and your source codes.
It is good to use the compression plugin to compress the HTML lines, which will give some performance boost. But they are most likely tend to generate the conflict problems (most of the time). Because compressing HTML mess up the inline javascript lines. I am sure disabling the HTML compressing will eliminate this script issue upon add to cart and most of the other problems you have mentioned.

(i am talking about HTML compression, not CSS or JS compressions.. you can leave them enabled)

But you can also do this to eliminate the "Script" problem that occurs upon add to cart;
open this PHP file:
/templates/flexible_coolmart/html/com_virtuemart/productdetails/default.php

and remove these lines:

(from 105th to 137th line)
var vmcartck = $('.vmCartModule');
if (typeof vmcartck != 'undefined') {	
	vmcartck.top = vmcartck.offset().top;
	vmcartck.left = vmcartck.offset().left;
 
	$('input.addtocart-button').click(function() {
			var el = $(this);
			var imgtodrag = $('div.main-image img.product-image');
			if (!imgtodrag.length) {
				elparent = el.parent();
				while (!elparent.hasClass('spacer')) {
					elparent = elparent.parent();
				}	
 
			}
			if (imgtodrag.length) {
				var imgclone = imgtodrag.clone()
					.offset({ top: imgtodrag.offset().top, left: imgtodrag.offset().left })
					.css({'opacity': '0.7', 'position': 'absolute' , 'height':'auto' , 'width': '300px','z-index': '9999999999'})
					.appendTo($('body'))
					.animate({
						'top': vmcartck.top+50,
						'left': vmcartck.left+150,
						'width':150,
						'height':150
					},1800, 'swing');
				imgclone.animate({
					'width': 0,
					'height': 0
				});
			}
	});	
};

Be very cautious about when you start deleting and when you finish deleting. If you delete one more line or one less line, you will end up JavaScript console error. So carefully count the curly brackets and close-paranthessis.

Regards,
Support
Last Edit: 7 years 6 months ago by Support.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #9000

About the SEO issue. If you want me to provide you a solution:
Please re-enable the SEO of Virtuemart (get back to state when ?tmpl=component doesn't work) and let me see your website again.

Please also disable this HTML compression (from JCH plugin), so i can clearly look at your source codes.

Regards,
Support
Last Edit: 7 years 6 months ago by Support.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #9003

Hi again,

Thanks, I am testing the code removal. I got the stand alone cart as well, but I haven't started messing with the them really yet to make it fit, plus removal didn't improve that much.

Seo has been re enabled for you to examine. Thanks very much for checking into that.

I have literally also just thrown on virtuemart 2.5.2. Apparently it suppose to make things behave behind the scenes better, but over all I haven't seen any change, for the better or worse
Last Edit: 7 years 6 months ago by Chris Simmons.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #9016

I don't get it. What you meant by:
Virtuemart 2.5.2
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #9017

Also do this:

Attachment Pasted_Image_3_12_14__3_33_AM-3.png not found



Because right now, it is impossible for me to diagnose your website.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #9019

dev.virtuemart.net/projects/virtuemart/files
They are getting ready to deploy virtuemart 3. 2.5.2 is the pre-release

So sorry. I have been playing trying to get it to work. The things you requested have been set. I even went and downloaded the original cart from the place you got it, and purchased your stand alone app with no luck. I have one by offljan and it works, but the way it works is useless with mobiles, also it doesn't fit the template

EDIT. I have gotten it to the point where, withour SEO, having a single item in the cart, it works fine to remove, taking 5-9 seconds to remove, but with 2 or more items it does 1 of 2 things. either nothing at all, or it shows the cart as empty, only showing the cart with the correctly remove item after moving to a new page. At this stage all optimizations are turned off including caching
Last Edit: 7 years 6 months ago by Chris Simmons.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #9021

EDIT2. well, I got some more news, playing with some more stuff ( I don't know where) the cart seems to be ok with 2 items now!! But if I use my product builder shich adds approx. 10, can't remove them, Can I make a request for future versio to have an empty cart button?
Anyway, that's working with SEO enabled, but the shipping drop down and quicklook still fail. Not using quicklook works fine though
Last Edit: 7 years 6 months ago by Chris Simmons.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #9027

I figured out the problems with SEO. It was problems with my .htaccess file. Except for the speed of the shopping cart, your template is woring beautifully. I am sorry for the trouble.

IE11 is giving me this error though with quickllok
Line: 129
Error: Unable to get property 'top' of undefined or null reference
Last Edit: 7 years 6 months ago by Chris Simmons.
The administrator has disabled public write access.

Shopping Cart - Remove Button Does Not Work 7 years 6 months ago #9047

Those sub-releases just annoy me and I usually avoid keeping track pre-releases or what the plan is.

Because considering Virtuemart is a commercial free app, those things can be delayed a lot. Furthermore, we don't even know when the Joomla3.5 will be released. (they claimed it will be ready to go by March 2014, but we still don't have it ;)

The new Virtuemart will be compatible with joomla 3.5 (as i am guessing). Since j3.5 hasn't been out yet, waiting for the new version of Virtuemart is pointless for now. I am giving it at least 6 months to see something solid.

Lets get back to your problem. I don't have the IE as i am a MAC user. Does this same console error also happen in Chrome or Firefox?

Browse our DEMO with IE11: demo.flexiblewebdesign.com/coolmart and see if the same console error happens as well.
(also tell me what the JS file is generating this property error)

Regards
The administrator has disabled public write access.
Time to create page: 0.224 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo