adding prices to recently viewed

MariaJensen
Excursionist
40 2 12

Hi, 

Can anybody help me add prices to recently viewed products like recommended products 

like so:

tempsnip6.png

here is a link to my site:

https://u9ja2y16gixa8bua-9420537935.shopifypreview.com 

Thank you in advance 

- Maria 

KetanKumar
Shopify Partner
18555 1954 6851

@MariaJensen 

yes, please share recently viewed section code

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
MariaJensen
Excursionist
40 2 12

Hi @KetanKumar,
here you go:

{%- if section.settings.show_section -%}
{%- liquid
assign grid_item_width = 'small--one-half medium-up--one-fifth'
assign row_of = 5

case section.settings.recent_count
when 2
assign grid_item_width = 'medium-up--one-half'
assign row_of = 2
when 3
assign grid_item_width = 'small--one-half medium-up--one-third'
assign row_of = 3
when 4
assign grid_item_width = 'small--one-half medium-up--one-quarter'
assign row_of = 4
when 6
assign grid_item_width = 'small--one-half medium-up--one-sixth'
assign row_of = 6
when 8
assign grid_item_width = 'small--one-half medium-up--one-quarter'
assign row_of = 4
endcase
-%}

<div
data-subsection
data-section-id="{{ section.id }}"
data-section-id="{{ product.id }}"
data-section-type="recently-viewed"
data-product-handle="{{ product.handle }}"
data-recent-count="{{ section.settings.recent_count }}"
data-grid-item-class="{{ grid_item_width }}"
data-row-of="{{ row_of }}">
<hr class="hr--large">
<div class="index-section index-section--small">
<div class="page-width">
<header class="section-header">
<h3 class="section-header__title">{{ 'products.general.recent_products' | t }}</h3>
</header>
</div>

<div class="page-width page-width--flush-small">
<div class="grid-overflow-wrapper">
<div id="RecentlyViewed-{{ section.id }}" class="grid grid--uniform" data-aos="overflow__animation"></div>
</div>
</div>
</div>
</div>
{%- endif -%}

<script>
theme.settings.recentlyViewedEnabled = {{ section.settings.show_section | default: 'false' }};
</script>

{% schema %}
{
"name": "Recently viewed products",
"settings": [
{
"type": "checkbox",
"id": "show_section",
"label": "Show recently viewed products",
"default": true
},
{
"type": "range",
"id": "recent_count",
"label": "Number of recent products",
"default": 5,
"min": 2,
"max": 10,
"step": 1
}
]
}
{% endschema %}

0 Likes
KetanKumar
Shopify Partner
18555 1954 6851

@MariaJensen 

sorry it's not possible this code it dynamic code we're doesn't work this code may be check your js file if possible to contact theme developer 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
MariaJensen
Excursionist
40 2 12

Damn it - thank you for the help

KetanKumar
Shopify Partner
18555 1954 6851

@MariaJensen 

it's my pleasure to help us

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
g33kgirl
Shopify Partner
242 62 76

Hi @MariaJensen, I can help you with this. But I'd charge for this work. If you're ok with that, please send me a message. If not, I'd also recommend contacting Impulse support.

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl ☕
If you're not comfortable with code, please modify code files at your own risk.
Do NOT give out your passwords unless absolutely necessary.
MariaJensen
Excursionist
40 2 12

Hi @g33kgirl,

Thank you for the offer, we will think about it