A New Window Opens when a product is clicked

Highlighted
New Member
1 0 0

Hi,

I am workding on Brookly theme and also trying to setup a marker place using "Multi Vender Marketplace" APP. 

 

When a product is clicked, a new window opens. I actually wants to open the product in the same Window. Below is the code of the "product.liquid".

 

Can anyone help me to fix this

 

<!-- /templates/product.liquid -->
{% comment %}
  The contents of the product.liquid template can be found in /sections/product-template.liquid
{% endcomment %}
 
{% section 'product-template' %}
{% section 'product-recommendations' %}
 
{% if collection %}
  <hr class="hr--clear">
  <div class="text-center">
    <a href="{{ collection.url }}" class="return-link">&larr; {{ 'products.general.collection_return' | t: collection: collection.title }}</a>
  </div>
 
<div class="wk_seller_detail clearfix" data-productid ="{{product.id}}" style="display:none; border-bottom:1px solid #ddd; border-top:1px solid #ddd; padding:5px;"></div>
<div class='wk-rateit'></div>
<div class="wk_seller_store_logo" data-productid ="{{product.id}}"></div>
<div id="wk_seller_description" data-productid="{{ product.id }}" style="margin:10px 0;"></div>
<div class="wk_seller_custom_detail clearfix" data-productid ="{{product.id}}" style="display:none; border-bottom:1px solid #ddd; border-top:1px solid #ddd; padding:5px;"></div>
  <div class="wk_seller_info clearfix" data-productid="{{ product.id }}" style="margin:10px 0;"></div>
<div class="wk_seller_detail_logo" data-productid ="{{product.id}}"></div>
<div class="wk_product_custom_file_type clearfix" data-productid ="{{product.id}}" style="display:none; border-bottom:1px solid #ddd; border-top:1px solid #ddd; padding:5px;"></div>
 
{% endif %}

 

0 Likes
Highlighted
Hello chet,
You have to set target=" _self " in a tag.
Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
0 Likes