Products name in order list Not working

15.11.2015 15:58
#1
usman_497
Joomshopping forum user no avatar
Name: usman
05.02.2012
Posts: 29
Quote
Products name in order list Not working

Hi I am Getting this error when log in from frontend and click on show orders


Fatal error: Call to undefined method JSFactory::getTable() in /homepages/25/d331184021/htdocs/mobibackup/plugins/jshoppingorder/products_user_order_list/table.html.php on line 11
Item Product code Single price Quantity Total

I am just going to send you the login details in pvt message


Joomla: 3.4.5
JoomShopping: 4.4.0
Website Url: test.mobi-shop.co.uk
 
15.11.2015 20:57
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25907
Quote
Aw: Products name in order list Not working

Problem in old version joomshopping.

update joomshoppin or

add function getTable in class JSFactory

 
15.11.2015 21:22
#3
usman_497
Joomshopping forum user no avatar
Name: usman
05.02.2012
Posts: 29
Quote
Aw: Products name in order list Not working

Hi

Can you please send me the code which needs to be added and if you can tell me the file name and location which needs to be edited

Thank you

 
15.11.2015 21:27
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25907
Quote
Aw: Products name in order list Not working

components\com_jshopping\lib\factory.php

add functions

public static function getTable($type, $prefix = 'jshop', $config = array()){
JDispatcher::getInstance()->trigger('onJSFactoryGetTable', array(&$type, &$prefix, &$config));
$table = JTable::getInstance($type, $prefix, $config);
JDispatcher::getInstance()->trigger('onAfterJSFactoryGetTable', array(&$table, &$type, &$prefix, &$config));
return $table;
}

public static function getModel($type, $prefix = 'JshoppingModel', $config = array()){
JDispatcher::getInstance()->trigger('onJSFactoryGetModel', array(&$type, &$prefix, &$config));
$model = JModelLegacy::getInstance($type, $prefix, $config);
JDispatcher::getInstance()->trigger('onAfterJSFactoryGetModel', array(&$model, &$type, &$prefix, &$config));
return $model;
}

 
15.11.2015 21:53
#5
usman_497
Joomshopping forum user no avatar
Name: usman
05.02.2012
Posts: 29
Quote
Aw: Products name in order list Not working

Hi

It has fix the error message but the product name is not showing in order. It still shows the same way as it was before

Any idea?

Thank you :)

 
16.11.2015 07:54
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25907
Quote
Aw: Products name in order list Not working

Need fix template order (update)

update joomshopping to 4.9.2

or update template to version 4.9.2

 
16.11.2015 22:04
#7
usman_497
Joomshopping forum user no avatar
Name: usman
05.02.2012
Posts: 29
Quote
Aw: Products name in order list Not working

Hi


How would i update template to 4.9.2 and where to get a template?

Thanks

 
17.11.2015 07:51
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25907
Quote
Aw: Products name in order list Not working

update to 4.11.2

1. download
https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/JoomShopping-4.11.2.zip.html

2. copy
\site\templates\default\order\listorder.php

to your server

componenets/com_jshopping/templates/default/order/listorder.php

 


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.