Okay
  Print

How to change 'Send a flowers' button link

In order to change 'Send a flowers' button link, in wp-content/themes/beacon/templates/header/header-1.php file, line 85:

Please replace this piece of code: 


// Woocommerce button
                        $show_send_flowers=trim(beacon_get_custom_option('show_send_flowers'));
                        if (!empty($show_send_flowers) && function_exists('beacon_exists_woocommerce') && beacon_exists_woocommerce() && $link=get_permalink(wc_get_page_id('shop')) ) {
                            ?><div class="column-1_5 contact_field show_send_flowers">
                             <a class="sc_button" href="<?php echo esc_html($link); ?>"><?php echo force_balance_tags($show_send_flowers); ?></a>
                            </div><?php
                        }


with:



// Woocommerce button
                        $show_send_flowers=trim(beacon_get_custom_option('show_send_flowers'));
                        if (!empty($show_send_flowers) && function_exists('beacon_exists_woocommerce') && beacon_exists_woocommerce() && $link=get_permalink('21') ) {
                            ?><div class="column-1_5 contact_field show_send_flowers">
                             <a class="sc_button" href="<?php echo esc_html($link); ?>"><?php echo force_balance_tags($show_send_flowers); ?></a>
                            </div><?php
                        }

where 21 is a page ID the link should point to instead of the default Shop page.