Osclass Support Forums
Osclass plugin support => Osclass Pay Plugin => Topic started by: Lida phanora on October 30, 2022, 03:34:16 PM
-
Hi sir
can we make show all buy now listing for home page ?
Thank
-
@Lida
You can use inside item loop.
<?php if(function_exists('osp_product_to_cart_link')) { echo osp_product_to_cart_link(); } ?>
-
Thank you sir
-
i want to show buy now listing like premium block in home page (widgets ) not link buy now button sir
-
@Lida
Ok that would require custom query to get such products.
-
I'm looking solution
-
@Lida
You add to search table:
oc_t_osp_item_data
on fk_i_item_id = item primary key
where i_sell = 1
This will only include listings on sale