Welcome, Guest
Username: Password: Remember me

TOPIC: Making Cart Icon Click Through to Cart

Making Cart Icon Click Through to Cart 4 years 2 weeks ago #2301

  • klout
  • klout's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Good day. I have been heatmap and click testing the OT Swatch Template and I'm finding visitors are trying to click the cart-icon.png in the top right of the template presuming they are going to be sent to the cart page.

Is there a way to make the graphic clickable please to direct customers to the cart?

Any help much appreciated.

Kindest Regards,
The administrator has disabled public write access.

Re: Making Cart Icon Click Through to Cart 4 years 1 week ago #2307

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You can add link by edit file default.php with this path /templates/ot_swatch/html/mod_virtuemart_cart
around line 59, you can add more html for a tag:
	<div class="total_products-i">
		<a class="your_link_class" href="your_url" target="_blank"><span class="total_products"><?php echo ($data->totalProduct . JText::_('TPL_OT_ITEMS')) ?></span></a>
	</div>

and then add more css class for it.

Thanks
The administrator has disabled public write access.
Time to create page: 0.166 seconds