- Posts: 344
- Thank you received: 3
Ad Go to cart link in the Cart Module/Mini cart
14 years 1 month ago - 14 years 1 month ago #70413
by river
Ad Go to cart link in the Cart Module/Mini cart was created by river
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.
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.
Last edit: 14 years 1 month ago by river.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #70450
by Xavier
Replied by Xavier on topic Re: Ad Go to cart link in the Cart Module/Mini cart
Hi river,
You can edit the view "product / cart" in HikaShop > Display > Views.
And add the code:
After:
You can edit the view "product / cart" in HikaShop > Display > Views.
And add the code:
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:
Code:
<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.
14 years 1 month ago #70594
by river
Replied by river on topic Re: Ad Go to cart link in the Cart Module/Mini cart
Tnx it works
can you please advice me on what the language string is so I can translate it ?
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.
14 years 1 month ago #70677
by Xavier
Replied by Xavier on topic Re: Ad Go to cart link in the Cart Module/Mini cart
Hi river,
You can translate the string "GO_TO_CART" in HikaShop > Configuration > Languages, your language file.
You can translate the string "GO_TO_CART" in HikaShop > Configuration > Languages, your language file.
Code:
GO_TO_CART="Go to cart"
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds