*

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

*

MB Themes

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(); } ?>
  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

*

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

*

MB Themes

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.
  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

*

MB Themes

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
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots