When a user who is not logged in (anonymously) clicks Proceed to checkout , I want them to be sent to the login page. Then, after they have logged in or registered, they should be returned to the upload page.
I am using onepage checkout, which has an login section that you are not logged into, but privileges that do not want this.
Initially, I started the checkout.xml change path to have the following meanings:
<customer_logged_in> <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label"> <label>Payment Methods Before Checkout Button</label> <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/> </block> </customer_logged_in> <customer_logged_out> <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label"> <label>Payment Methods Before Checkout Button</label> <block type="checkout/onepage_link_not_logged_in" name="checkout.cart.methods.onepage" template="checkout/onepage/link_not_logged_in.phtml"/> </block> </customer_logged_out>
And link_not_logged_in.phtml :
$this->getLoginUrl();
but it didn’t even pull my new phtml file, and I’m not even sure that it will lead me to the verification page after. Any articles or help are largely received.
Flakx source share