Skip to main content

Cart URL on cart module

8 years 2 months ago #296921 by info@vesica.org
-- 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:
Code:
$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.

8 years 2 months ago #296922 by Jerome
Replied by Jerome on topic Cart URL on cart module
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
Code:
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.
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.050 seconds
Powered by Kunena Forum