Module Random Product Price from

17.05.2022 14:59
#1
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Module Random Product Price from

Possible to change code so that only products with prices from 10 EUR and more are displayed in this module? Thanks in advance

 
17.05.2022 21:48
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25935
Quote
Aw: Module Random Product Price from

JoomShopping version?

 
17.05.2022 21:50
#3
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Aw: Module Random Product Price from

4.16.2


Last change: 17.05.2022 21:50
 
17.05.2022 21:59
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25935
Quote
Aw: Module Random Product Price from

Only need change Joomshopping core

components\com_jshopping\tables\product.php

function getRandProducts($count, $array_categories = null, $filters = array(), $realRand = 0){

~ row 938
WHERE prod.product_publish=1 AND cat.category_publish=1 ".$adv_query."

change to

WHERE prod.product_publish=1 AND cat.category_publish=1 AND prod.product_price>10 ".$adv_query."

 
17.05.2022 22:01
#5
spike77
Joomshopping forum user no avatar
Name: Manfred
30.04.2015
Posts: 706
Quote
Aw: Module Random Product Price from

thank you very much!

 


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.