Ad Go to cart link in the Cart Module/Mini cart

  • Posts: 344
  • Thank you received: 3
12 years 1 month ago #70413

I have the "HikaShop Cart Module" in the left corner, and the "Mini cart" option is set to YES". Everything i displaying fine.
But I need a link below the total price that say "Go to cart" and when you click on it you are taken to the Checkout page.

Any tips on what file and what code I need to type/modify to fix this ?
Please see attached screenshot to see what I mean

I find it odd that the feature is not included in the module because I think it is an important feature.


Attachments:
Last edit: 12 years 1 month ago by river.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
12 years 1 month ago #70450

Hi river,

You can edit the view "product / cart" in HikaShop > Display > Views.
And add the code:

		?>
		<br/>
		<a class="hikashop_small_cart_checkout_link_under" href="<?php echo hikashop_completeLink('checkout'.$url_itemid); ?>">
			<span class="hikashop_small_cart_link_to_checkout"><?php echo JText::_('GO_TO_CART'); ?></span>
		</a>
		<?php

After:
		<a class="hikashop_small_cart_clean_link" href="<?php echo $delete.'return_url='. urlencode(base64_encode(hikashop_currentURL('url',false))); ?>" >
			<img src="<?php echo HIKASHOP_IMAGES . 'delete2.png';?>" border="0" alt="clean cart" />
		</a><?php
		}

Please Log in or Create an account to join the conversation.

  • Posts: 344
  • Thank you received: 3
12 years 4 weeks ago #70594

Tnx it works

can you please advice me on what the language string is so I can translate it ?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
12 years 4 weeks ago #70677

Hi river,

You can translate the string "GO_TO_CART" in HikaShop > Configuration > Languages, your language file.

GO_TO_CART="Go to cart"

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum