Reply 245400 to: Change button back to store, shop to other custom link

Avatar: Alvaro_Cercos
Alvaro Cercos
Participant
July 25, 2020 at 20:48

Ok, i have check it, copy but don´t know how to change the link.

this is the code I need to change?

<?php if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
		<p><a class="btn" href="<strong><?php echo get_permalink(wc_get_page_id('shop')); ?></strong>"><span><?php esc_html_e('Return To Shop', 'xstore') ?></span></a></p>
	<?php endif; ?>

some in this other code:

<?php if ( wc_get_page_id( 'shop' ) > 0 ) : ?>
					<a class="return-shop" href="<strong><?php echo get_permalink(wc_get_page_id('shop')); ?></strong>"><i class="et-icon et-<?php echo (is_rtl()) ? 'right' : 'left'; ?>-arrow"></i><?php esc_html_e('Return to shop', 'xstore') ?></a>
				<?php endif; ?>

And how do I send the client back to the home page? many thanks

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.