Message about add product

17.08.2013 12:48
#1
Harper
Joomshopping forum user no avatar
Name: Harper
29.07.2013
Posts: 2
Quote
Message about add product

How to make an information message box when the user adds a product to cart (such as in virtuemart)?


Joomla: 2.5.14
JoomShopping: 3.15.2
PHP: 5.4.16
MySQL: 5.5.30
 
17.08.2013 15:12
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
Quote
Aw: Message about add product

see
http://www.webdesigner-profi.de/joomla-webdesign/shop/addons/ajax-cart.html?lang=en

 
21.08.2013 18:02
#3
akroll
Joomshopping forum user no avatar
Name: Andreas Kroll
19.04.2011
Posts: 15
Quote
Aw: Message about add product

Before there was such a message also.
Whats changed? misconfigure config?

I want a response without ajax.


Joomla: 3.1.1
JoomShopping: 4.3.2
PHP: 5.4.17
MySQL: 5.1.66
 
21.08.2013 19:03
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
Quote
Aw: Message about add product

Not possible.

 
22.08.2013 08:48
#5
akroll
Joomshopping forum user no avatar
Name: Andreas Kroll
19.04.2011
Posts: 15
Quote
Aw: Message about add product

i mean this:
i don't get a result of:
if ( (count($product->getRequireAttribute()) > count($attr_id)) || in_array(0, $attr_id)){
JError::raiseNotice('', _JSHOP_SELECT_PRODUCT_OPTIONS);
return 0;
}

the message box of message.php doesn't display


Letzte Ă„nderung: 22.08.2013 08:58
 
22.08.2013 09:20
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
Quote
Aw: Message about add product

Problem in template joomla

Add
<jdoc:include type="message" />

 
22.08.2013 09:34
#7
akroll
Joomshopping forum user no avatar
Name: Andreas Kroll
19.04.2011
Posts: 15
Quote
Aw: Message about add product

it is still available

i get no response from var_dump($app->getMessageQueue(); in index.php

but when i add this:
if ((count($product->getRequireAttribute()) > count($attr_id)) || in_array(0, $attr_id)){
JError::raiseNotice('100', _JSHOP_SELECT_PRODUCT_OPTIONS);
}
i get a response

EDIT:
this was a error on local machine.
load to real webserver.... works


Letzte Ă„nderung: 23.08.2013 09:58
 
Copyrights MAXXmarketing GmbH. All Rights Reserved