Jump to content

 

ypg

Member Since 16 Nov 2006
Offline Last Active Aug 13 2019 11:28 AM
-----

Posts I've Made

In Topic: Import "buy_Now_Url" From Csv

13 August 2019 - 06:45 AM

It should work. Try to delete the var/cache directory manually

Yes, it is working now. 

Thank you so much for your time and efforts.

 

YPG


In Topic: Import "buy_Now_Url" From Csv

13 August 2019 - 04:41 AM

Did you clear cache?

yes cache was already cleared.


In Topic: Import "buy_Now_Url" From Csv

12 August 2019 - 08:43 AM

design/themes/THEME/templates/addons/catalog_mode/hooks/buttons/add_to_cart.override.tpl

 

replace

{include file="buttons/button.tpl" but_id=$but_id but_text=__("buy_now") but_href=$product.buy_now_url but_role=$but_role|default:"text" but_meta="ty-btn__primary" but_name=""}

with

{include file="buttons/button.tpl" but_id=$but_id but_text=__("buy_now") but_href=$product.buy_now_url but_role=$but_role|default:"text" but_meta="ty-btn__primary" but_name="" but_target="_blank"}

and clear cache then

Thanks for update but still when you click on Buy now button the external url loads in same page.

The link generated in buy now button does not contain (target"_blank").

It contains link as <a href="http://www.xxx.com" class="ty-btn ty-btn__primary " >Buy now</a>


In Topic: Import "buy_Now_Url" From Csv

10 August 2019 - 09:05 AM

The default Buy Now button in cataloge mode opens the external urls in the same window.  Is it possible to open the link in new window.

 

 

 


In Topic: Search Abuse

12 October 2018 - 10:18 AM

I have corrected my post. It should work now

Thanks, it is working now. But there should be some other way out to stop this.