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

TOPIC: Terms of service popup not popping up ?

Terms of service popup not popping up ? 8 years 8 months ago #2857

Hi.
i have just noticeds that at the bottom of the cart next to the check out button the terms of service button that did popup is now not doing so - www.theclockshed.co.uk/component/virtuemart/cart?Itemid=0

any clues here please ?!
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 8 months ago #2858

Hi Richard,

Yes , your right - the rel="facebox" isn't working on this build..
Will get back to you on this as soon as we figure it out..

Regards,

Admin
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 8 months ago #2876

Hi Richard,

The solution is easy, you can apply this patch by yourself.

Open this PHP file:

ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/cart/default.php

Find these lines (around the bottom of this PHP file):
<div class="terms-of-service">
	<span class="terms-of-service" rel="facebox"><span class="vmicon vm2-termsofservice-icon"></span><?php echo JText::_('COM_VIRTUEMART_CART_TOS_READ_AND_ACCEPTED'); ?><span class="vm2-modallink"></span></span>
	<div id="full-tos">
		<h2><?php echo JText::_('COM_VIRTUEMART_CART_TOS'); ?></h2>
		<?php echo $this->cart->vendor->vendor_terms_of_service;?>
	</div>
</div>

and replace them with this:
<div class="terms-of-service">
	<a href="<?php echo JRoute::_ ('index.php?option=com_virtuemart&view=vendor&layout=tos&virtuemart_vendor_id=1&tmpl=component') ?>" class="terms-of-service" id="terms-of-service"  rel="facebox" rev="iframe|550|900">
		<span class="vmicon vm2-termsofservice-icon"></span>
		<?php echo JText::_ ('COM_VIRTUEMART_CART_TOS_READ_AND_ACCEPTED'); ?>
	</a>
</div>

Then it will be working alright.

You can alternatively remove the rev="iframe|550|900" attribute from the above lines and have the TOS page opens through AJAX (instead of iframe)

Regards,
Forum Support.
Last Edit: 8 years 2 months ago by Support.
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 8 months ago #2881

Thanks for the patch. I was wondering why the terms of service link did not work on my site as well.

Regards,
Mr BabyNose.
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 8 months ago #2891

Thanks as always for the prompt and effective reply !
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 8 months ago #2894

A pleasure..

Have made sticky

Cheers
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #4957

Please update this fix for PureMart 3.6. The code suggested to replace with the rel="facebox" does not exist in this version of cart/default.php.

Terms of Service link in checkout wasn't working. I uninstalled RocketTheme Rokbox plugin, then tried it again. I worked once. Then every time after that it opens the Terms of Service in the browser window with no navigation back to the cart. There are no errors reported in Firebug console.

How do I fix this, please?

Thank you,
Richard
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #4961

Dev team alerted..

Cheers
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #4972

Thanks. But now I checked it again and it's working correctly without making any code changes. Maybe it was a weird browser caching issue. Who knows? I'll let you know if it stops working again.

Richard
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #4990

Perhaps a caching issure after you removed the plug - but if it's working good...
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #5001

It is still working correctly the next day. Caching can get frustrating, and now the new version of Firefox 21 seems to be holding on to old cache even after you clear it - more like Internet Explorer. :-(

Richard
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #5009

just tried it on www.ibtanked.com - works fine - must be an issue local to you - the code is there to pop it

Cheers
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #5096

I tried PureMart on another website that I just launched and the Terms of Service pop-up doesn't work. It loads TOS in another page with no site navigation. I thought since uninstalling RokBox on the other site seemed to fix the problem, I tried to disable lightbox function on this site's YooTheme Widgetkit (the only 3rd party lightbox functionality installed), but that didn't work either.

Check it out here: www.nancyrinkdesigns.com

Thanks,
Richard
Last Edit: 8 years 5 months ago by Richard Sparks. Reason: typo correction
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #5121

works here......
Attachments:
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #5125

OK, so it's working now and I didn't make any changes. I wish all problems could be solved simply by just waiting awhile and let it take care of itself.

Thanks for being patient with me!
Richard
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #5130

he he - ah - patience - if only we all had some.... :)

assume a cache thing?
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #5132

If it's cache, it's a weird thing. I cleared every cache I can find (Joomla, browser) several times with no change, even quit Firefox and start again, and the popup still didn't work. But wait a day or two and all of a sudden it's working. So what other cache could there be? I'm not using CDN.

Just curious, it's not a critical question.
Richard
The administrator has disabled public write access.

Terms of service popup not popping up ? 8 years 5 months ago #5154

Sorry, no idea - this is better directed at your host - lots of hosts have started providing "accelerators" i.e. some forms of caching to reduce the load on their horribly overloaded servers cos they pile about 5000 sites on one server and sell unlimited hosting for 5 bucks a month.. ;)
The administrator has disabled public write access.
Time to create page: 0.278 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