Cart URL on cart module

  • Posts: 162
  • Thank you received: 0
5 years 7 months ago #296921

-- HikaShop version -- : 3.5.1

Hi,

Is it possible to pull the cart URL value inside the product/cart.php file in an override via templates overrides?

I see for the checkout url you use:

$this->url_checkout

I've looked in the product view file but couldn't find anything related.

thanks!

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
5 years 7 months ago #296922

Hello,

The checkout URL is a special URL since you can "force" it in the HikaShop configuration.
If you want to add an URL to the cart, you can use

hikashop_completeLink('cart&task=show')
And you can even add the ItemId parameter if you want to force the usage of a specific menu.
You can also put a raw/hardcoded URL if that URL won't change.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: info@vesica.org

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

Time to create page: 0.053 seconds
Powered by Kunena Forum