[Skip to main content](#vessel-content)

#   Added to cart message as On page message

##

- **[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")**
- [![maujbigo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32468-maujbigo "View maujbigo's Profile") Topic Author
- [ Offline](/forum/user/32468-maujbigo)

Less More

- Posts: 147
- Thank you received: 6
-
-

10 years 6 months ago [\#240957](#240957) by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")  *[Added to cart message as On page message](/forum/27-checkout/884688-added-to-cart-message-as-on-page-message#240957 "Hi, Is it possible or how could I have the 'Product added to cart' message after a product has being added to the cart, as a joomla message? Displayed by   I my case it is simpler and will work better for my users.  Thanks")* was created by *[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")*

Hi,
Is it possible or how could I have the 'Product added to cart' message after a product has being added to the cart, as a joomla message? Displayed by &lt;jdoc:include type="message" /&gt;

I my case it is simpler and will work better for my users.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDY4OC1hZGRlZC10by1jYXJ0LW1lc3NhZ2UtYXMtb24tcGFnZS1tZXNzYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 6 months ago [\#240966](#240966) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Added to cart message as On page message](/forum/27-checkout/884688-added-to-cart-message-as-on-page-message#240966 "Hi, Is it possible or how could I have the 'Product added to cart' message after a product has being added to the cart, as a joomla message? Displayed by   I my case it is simpler and will work better for my users.  Thanks")*

Hi,

There is no easy option to do that. You would have to edit the file components/com_hikashop/controllers/product.php and add custom code in the updateCart function in there.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDY4OC1hZGRlZC10by1jYXJ0LW1lc3NhZ2UtYXMtb24tcGFnZS1tZXNzYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")**
- [![maujbigo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32468-maujbigo "View maujbigo's Profile") Topic Author
- [ Offline](/forum/user/32468-maujbigo)

Less More

- Posts: 147
- Thank you received: 6
-
-

10 years 5 months ago [\#241401](#241401) by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")  Replied by *[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")* on topic *[Added to cart message as On page message](/forum/27-checkout/884688-added-to-cart-message-as-on-page-message#241401 "Hi, Is it possible or how could I have the 'Product added to cart' message after a product has being added to the cart, as a joomla message? Displayed by   I my case it is simpler and will work better for my users.  Thanks")*

Hi Nicolas,
Thanks for you reply.

I just want to be able to notify the user that the product has being added to the cart and checkout or continue shopping without the needing mootools at all.

Is there any option or suggestion to do that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDY4OC1hZGRlZC10by1jYXJ0LW1lc3NhZ2UtYXMtb24tcGFnZS1tZXNzYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 5 months ago [\#241417](#241417) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Added to cart message as On page message](/forum/27-checkout/884688-added-to-cart-message-as-on-page-message#241417 "Hi, Is it possible or how could I have the 'Product added to cart' message after a product has being added to the cart, as a joomla message? Displayed by   I my case it is simpler and will work better for my users.  Thanks")*

Hi,

Not for now without custom coding.
We're working on a complete overhaul of HikaShop's checkout and cart systems that we hope to release in a few months.
The new system won't use mootools.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDY4OC1hZGRlZC10by1jYXJ0LW1lc3NhZ2UtYXMtb24tcGFnZS1tZXNzYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")**
- [![maujbigo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32468-maujbigo "View maujbigo's Profile") Topic Author
- [ Offline](/forum/user/32468-maujbigo)

Less More

- Posts: 147
- Thank you received: 6
-
-

10 years 5 months ago [\#241487](#241487) by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")  Replied by *[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")* on topic *[Added to cart message as On page message](/forum/27-checkout/884688-added-to-cart-message-as-on-page-message#241487 "Hi, Is it possible or how could I have the 'Product added to cart' message after a product has being added to the cart, as a joomla message? Displayed by   I my case it is simpler and will work better for my users.  Thanks")*

Hi, Nicolas. It is good to know it is in the plans.

My suggestion/request would be for an option that displays the message and 'continue shopping' or 'checkout' in page.
No, light box, no sliding panel no javascript, just simple html output. That way you allow for people who want to have a simple design do so without loading any js library.

Thanks for now and I look forward to the new improved version.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDY4OC1hZGRlZC10by1jYXJ0LW1lc3NhZ2UtYXMtb24tcGFnZS1tZXNzYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

10 years 5 months ago -  10 years 5 months ago [\#241499](#241499) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Added to cart message as On page message](/forum/27-checkout/884688-added-to-cart-message-as-on-page-message#241499 "Hi, Is it possible or how could I have the 'Product added to cart' message after a product has being added to the cart, as a joomla message? Displayed by   I my case it is simpler and will work better for my users.  Thanks")*

Hello,

Before have the new checkout version, you can maybe if it please you use the "**After a product is added to the cart**" option in HikaShop Configuration.

For reach this option, follow this steps :
- Go to **Components** =&gt; **HikaShop** =&gt; **Configuration**
- In **Main** tab, go to **Cart** part
- Find the "**After a product is added to the cart**" option and define on "**Stay and display a popup notice**".

[ ![AddCartPopUp.png](/forum/attachment/31733) ](/forum/attachment/31733 "AddCartPopUp.png")

As result your customer will see **after add a product** in their cart a popup which invite them to **proceed** to checkout **OR** to **continue** shopping... So not a page but maybe close enough for waiting next checkout version.

Hope this will fit your needs.

Regards.

- [ ![AddCartPopUp.png](/forum/attachment/31733) ](/forum/attachment/31733 "AddCartPopUp.png") [ ](/forum/attachment/31733?download=1 "AddCartPopUp.png")

Last edit: 10 years 5 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDY4OC1hZGRlZC10by1jYXJ0LW1lc3NhZ2UtYXMtb24tcGFnZS1tZXNzYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")**
- [![maujbigo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32468-maujbigo "View maujbigo's Profile") Topic Author
- [ Offline](/forum/user/32468-maujbigo)

Less More

- Posts: 147
- Thank you received: 6
-
-

10 years 5 months ago [\#242293](#242293) by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")  Replied by *[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")* on topic *[Added to cart message as On page message](/forum/27-checkout/884688-added-to-cart-message-as-on-page-message#242293 "Hi, Is it possible or how could I have the 'Product added to cart' message after a product has being added to the cart, as a joomla message? Displayed by   I my case it is simpler and will work better for my users.  Thanks")*

Hi Philip,
I am sorry for the late reply and thanks for the suggestion.

I can't do that as I use a mootools disabler plugin.
I ended up just including an on page message to the controller. It was easy enought. Just added a couple of lines and done.

For those looking for similar solution before the new release I just added:

// We don't use the popup system, instead we raise an on page notification message
$app-&gt;enqueueMessage('&lt;p&gt;&lt;h4&gt;Added to cart.&lt;/h4&gt;&lt;/p&gt;&lt;p&gt;&lt;button type="button" class="btn btn-primary" data-dismiss="alert" aria-label="Close"&gt;keep Shopping&lt;/button&gt;&lt;/a&gt;&lt;a class="btn" href="/checkout"&gt;
Checkout &lt;span class="glyphicon glyphicon-arrow-right" aria-hidden="true"&gt;&lt;/span&gt; &lt;/a&gt;&lt;span class="clearfix"&gt;&lt;/span&gt;&lt;/p&gt;', '');

Around line 529

I hope it helps someone else.

Cheers

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4NDY4OC1hZGRlZC10by1jYXJ0LW1lc3NhZ2UtYXMtb24tcGFnZS1tZXNzYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.087 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
