Add a return button on the product page - mininal design

Karllota
Tourist
19 0 2

I am using the minimal theme and I would like to add a return button on the product page. It is even possible?

 

Best regards

Carla

Replies 9 (9)
Tejas_Nadpara
Shopify Partner
1087 216 535

@Karllota 

 

Go to the Online store > Theme > Sections > product-template.liquid file and add following code where you want to add Back button.

<a href="javascript&colon;history.go(-1)">back</a>

Cheers,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
Karllota
Tourist
19 0 2
Dera Tejas, Thank you very much for your quick reply. I already done it,
and it is exacly what i wanted.

Best regards,
Carla
VivHome
Tourist
8 0 1

This is a very easy and lazy solution. If people come on your webpage trough Google and you press something like "Back to shop" then nothing will happen, or atleast they wont be returned to the shopping page. 

maynorsuazo
Excursionist
17 0 4

Hey Carla, where exactly did you add that code?

 

Thanks, Maynor


@Karllota wrote:
Dera Tejas, Thank you very much for your quick reply. I already done it,
and it is exacly what i wanted.

Best regards,
Carla

 

jonger1924
New Member
2 0 0

Everytime i click on the "Adidas" looking symbol, it takes me to a seperate page with options of where to go next. I would prefer it just be a dropdown with those same options. I would then like clicking on those dropdown options to take me to their own page. Any ideas how? I'm using "narrative" theme. Please and thanks!

Sirius_Torus
Tourist
3 0 0

Thank you so much! Is just what I needed too!!

feelthescents
Tourist
5 0 2

Hi, where exactly did you add the code? I really appreciate it in advance.

Blochef
Tourist
5 1 1

Hi, I add it after below code, which make the 'back' appear after payment button

 

{% if section.settings.enable_payment_button %}
{{ form | payment_button }}
{% endif %}
</div>
{% endform %}

</div>
<a href="javascript&colon;history.go(-1)" >back</a>

 

hope it helps!

stonewerkz
New Member
1 0 0

How to I put "BACK" in a box and make it more visible?