Dawn theme - problems after adding "Recently Viewed Products"

Shuhei3355
Tourist
11 1 0

I added "Recently Viewed Products" based on the tutorial from https://alanryan.dev/tips/recently-viewed-products/

However those 2 problems have been faced..

 

1, When I disable "Recommended Products", the photos of Recently Viewed Products are shown off too. I need to keep them showing.

 

2. I need to add the vendor name between the product title and price, 

I tried for hours but I could not find out the solutions...Please could someone help me??

Reply 1 (1)

PageFly-Theodor
Navigator
348 49 52

Hi @Shuhei3355 ,
This is Theodore from PageFly - Shopify Page Builder App.

Regarding issue 1: I think you should create a "recommned for product" collection. This is the optimal and easy solution for you
Regarding issue 2: you can use code liquid to customize. Example code is below

<h2>{{ product.title }}</h2>
<span class="price">{{ product.price | money_with_currency }}</span>
<h2>{{ product.title }}</h2>
<p class="vendor">{{ product.vendor }}</p>
<span class="price">{{ product.price | money_with_currency }}</span>

I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.