From your Shopify admin, go to Online Store > Themes.
Find the theme that you want to edit and click Customize.
In the left-hand toolbar, click Theme settings.
Click Recently viewed products.
Enable: turn on/off this feature.
Enable: turn on/off this block on the product page.
Limit: adjust the maximum number of products that will be shown.
Product carousel item settings: please refer to the product item settings guide for more details.
Enable: turn on/off this block on the collection page.
Limit: adjust the maximum number of products that will be shown.