Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
How to get only Buy now listing for home page
Support Forums - Classified Ads Script Osclass
Osclass plugin support
Osclass Pay Plugin
How to get only Buy now listing for home page
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
Lida phanora
25 posts
How to get only Buy now listing for home page
«
on:
October 30, 2022, 03:34:16 PM »
Hi sir
can we make show all buy now listing for home page ?
Thank
Logged
MB Themes
Support team
17496 posts
Only quality matters
Download Osclass
Re: How to get only Buy now listing for home page
«
Reply #1 on:
November 02, 2022, 08:23:43 AM »
@Lida
You can use inside item loop.
Code:
[Select]
<?php
if(
function_exists
(
'osp_product_to_cart_link'
)) { echo
osp_product_to_cart_link
(); }
?>
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Lida phanora
25 posts
Re: How to get only Buy now listing for home page
«
Reply #2 on:
November 11, 2022, 06:14:51 AM »
Thank you sir
Logged
Lida phanora
25 posts
Re: How to get only Buy now listing for home page
«
Reply #3 on:
November 11, 2022, 06:39:27 AM »
i want to show buy now listing like premium block in home page (widgets ) not link buy now button sir
Logged
MB Themes
Support team
17496 posts
Only quality matters
Download Osclass
Re: How to get only Buy now listing for home page
«
Reply #4 on:
November 14, 2022, 05:09:31 PM »
@Lida
Ok that would require custom query to get such products.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Lida phanora
25 posts
Re: How to get only Buy now listing for home page
«
Reply #5 on:
November 16, 2022, 01:50:20 PM »
I'm looking solution
Logged
MB Themes
Support team
17496 posts
Only quality matters
Download Osclass
Re: How to get only Buy now listing for home page
«
Reply #6 on:
December 01, 2022, 10:36:08 PM »
@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
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]