Hi all
So at 4.2.4 if we hide price for anonymous user, will be apear "please login" bottom
Were i can go ? directly to erase the bottom. But the price must to remain for register customers
Thaks all again
Hi all
So at 4.2.4 if we hide price for anonymous user, will be apear "please login" bottom
Were i can go ? directly to erase the bottom. But the price must to remain for register customers
Thaks all again
Hi all
So at 4.2.4 if we hide price for anonymous user, will be apear "please login" bottom
Were i can go ? directly to erase the bottom. But the price must to remain for register customers
Thaks all again
Hello!
Please check this file: design/themes/YOUR_THEME/templates/buttons/add_to_cart.tpl
{hook name="buttons:add_to_cart"} {assign var="c_url" value=$config.current_url|escape:url} {if $settings.General.allow_anonymous_shopping == "allow_shopping" || $auth.user_id} {include file="buttons/button.tpl" but_id=$but_id but_text=$but_text|default:__("add_to_cart") but_name=$but_name but_onclick=$but_onclick but_href=$but_href but_target=$but_target but_role=$but_role|default:"text" but_meta="ty-btn__primary ty-btn__big ty-btn__add-to-cart cm-form-dialog-closer"} {else} {if $runtime.controller == "auth" && $runtime.mode == "login_form"} {assign var="login_url" value=$config.current_url} {else} {assign var="login_url" value="auth.login_form?return_url=`$c_url`"} {/if} {include file="buttons/button.tpl" but_id=$but_id but_text=__("sign_in_to_buy") but_href=$login_url but_role=$but_role|default:"text" but_name=""}{__("text_login_to_add_to_cart")}
{/if} {/hook}
Where exactly ?!
{hook name="buttons:add_to_cart"} {assign var="c_url" value=$config.current_url|escape:url} {if $settings.General.allow_anonymous_shopping == "allow_shopping" || $auth.user_id} {include file="buttons/button.tpl" but_id=$but_id but_text=$but_text|default:__("add_to_cart") but_name=$but_name but_onclick=$but_onclick but_href=$but_href but_target=$but_target but_role=$but_role|default:"text" but_meta="ty-btn__primary ty-btn__big ty-btn__add-to-cart cm-form-dialog-closer"} {else}{if $runtime.controller == "auth" && $runtime.mode == "login_form"} {assign var="login_url" value=$config.current_url} {else} {assign var="login_url" value="auth.login_form?return_url=`$c_url`"} {/if} {include file="buttons/button.tpl" but_id=$but_id but_text=__("sign_in_to_buy") but_href=$login_url but_role=$but_role|default:"text" but_name=""}
{__("text_login_to_add_to_cart")}
{/if}{/hook}
Where exactly ?!
Try to remove this code:
{include file="buttons/button.tpl" but_id=$but_id but_text=__("sign_in_to_buy") but_href=$login_url but_role=$but_role|default:"text" but_name=""}
I love you ! :)
Thanks
I love you ! :)
Thanks
You are welcome! :)