title: Redirect to specific url on button click in php file instead of to default woocommerce shop
body: <p>I'm currently trying to change on a default php button function that redirects users to webshop so that it can redirect users to a custom url instead. This is the code responsible for this</p>
  
  <pre><code>&lt;?php $proceed_booking_text = efora_get_field('proceed_booking_text');
                  if(!empty($proceed_booking_text)){ ?&gt;
                      &lt;div class="form-group"&gt;
                          &lt;?php if($product-&gt;is_in_stock()){ ?&gt;
                              &lt;button type="submit" class="tg-btn tg-btn-lg btn-cart-ajax"&gt;&lt;span&gt;&lt;?php echo esc_attr(efora_get_field('proceed_booking_text')); ?&gt;&lt;/span&gt;&lt;/button&gt;
                          &lt;?php } else{ ?&gt;
                              &lt;button type="submit" disabled="disabled" class="tg-btn tg-btn-lg"&gt;&lt;span&gt;&lt;?php esc_attr_e('Not Available','efora'); ?&gt;&lt;/span&gt;&lt;/button&gt;
                          &lt;?php } ?&gt;
                      &lt;/div&gt;
                  &lt;?php } ?&gt;
  </code></pre>
  
  <p>I have tried the the GOTO statement but only got a php error so I'm thinking I didn't use the statement properly. </p>