Jump to content

If New Product Is Not Avaliable Then How Display Last Added Product Is Display In New Arrivalblock,.


dharmishghinaiya

Recommended Posts

You'd need some custom coding for it. You need to run a query in blocknewproducts if the new products array is empty. Something like SELECT * etc... ORDER BY date_add desc

Make sure you use getValue to only get the last entry

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...