Custom message

16.01.2024 10:24
#1
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Сообщения: 41
Quote
Custom message

Hello,
I have set 'Do not redirect to cart after an order' in the Payment section of the configuration, which works fine.
However, I would like to know where and how I can add a hack in order to display a wide/colored "Product added to cart" message above the product which has just been selected.
Is there an area where I can display such a message? Above the Listproducts or above the product page?
Looks like there is one "system-message" div which I could use, maybe....

Thanks and cheers,

Philippe


Joomla: 5.0.2
JoomShopping: 5.1.3
PHP: 8.2
MySQL: 8.0
Website Url: www.produitsduperche.fr
 
16.01.2024 11:06
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25942
Quote
Aw: Custom message

Yes - works as default.
Error?

Bug in your template Joomla
Add in template joomla <jdoc:include type="message" />

See demo
http://demo.joomshopping.com/shop/music-video/mp3

Message works.

 
17.01.2024 15:03
#3
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Сообщения: 41
Quote
Aw: Custom message

Thanks much!
No, I do not see any error, just no display...Will check and follow your advice about the template.

Thx much

Philippe

 
17.01.2024 15:10
#4
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Сообщения: 41
Quote
Aw: Custom message

Just a quick one: should this statement be added to my template's index.php? Elsewhere?
Thx
Philippe

 
17.01.2024 15:36
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25942
Quote
Aw: Custom message

See template cassiopeia
.....
<jdoc:include type="message" />
<main>
<jdoc:include type="component" />
</main>

 
20.01.2024 17:38
#6
Philippe91
Joomshopping forum user no avatar
Name: Philippe
03.10.2020
Сообщения: 41
Quote
Aw: Custom message

Thx much!
Philippe

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.