Determines if there are orders for this customer.


  • daysago: Specifies a limit to the orders retrieved based on the number of days from the present


<?php if(shopp('customer','has-purchases')) { … } ?>
<?php if(shopp('customer','has-purchases')): ?>
    …content shown if the customer has orders…
<?php endwhile; ?>

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar