Edit the following files:
main.php line 200
<tr class="<?php echo $class; ?>" onclick="location.href='<?php echo osc_item_url();?>';">
to:
package main | |
import ( | |
"context" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" | |
"time" | |
) |
<?php | |
// meta tag robots | |
osc_add_hook('header','gum_nofollow_construct'); | |
osc_enqueue_script('jquery-validate'); | |
osc_enqueue_script('jquery-fineuploader'); | |
osc_enqueue_style('jquery-ui', osc_current_web_theme_url() . 'lib/jquery-ui/jquery-ui.css'); | |
gum_body_class(); | |
$action = 'item_add_post'; |
<?php | |
ob_get_clean(); | |
if(!osc_is_web_user_logged_in()) { | |
osc_add_flash_error_message(__('You need to login to be able to pay with your credits', 'payment_pro')); | |
osc_redirect_to(osc_route_url('payment-pro-checkout')); | |
die; | |
} |
<?php | |
require_once PAYMENT_PRO_PATH . 'CheckoutDataTable.php'; | |
$products = payment_pro_cart_get(); | |
$extra = osc_apply_filter('payment_pro_checkout_extra', array('user' => osc_logged_user_id(), 'email' => osc_logged_user_email()));; | |
$checkoutDataTable = new CheckoutDataTable(); | |
$checkoutDataTable->table($products); | |
$aData = $checkoutDataTable->getData(); |
Edit the following files:
main.php line 200
<tr class="<?php echo $class; ?>" onclick="location.href='<?php echo osc_item_url();?>';">
to:
.radius_search_remove, .radius_search_address { | |
margin: 1em 0; | |
} |
.radius_search_remove, .radius_search_address { | |
margin: 1em 0; | |
} |
In file oc-content/themes/gum/class/payments_pro/user/menu.php line 91
Change from :
printf('<li><a class="searchPaginationSelected" href="%s">%d</a>'</li>, osc_route_url('payment-pro-user-menu-page', array('iPage' => $i)), ($i + 1));
to
// from THIS | |
if(Params::getParam('s_email')!=Params::getParam('s_email_2')) { | |
// to THIS | |
if(isset($_REQUEST['s_email_2']) && Params::getParam('s_email')!=Params::getParam('s_email_2')) { |
// around line 88, gum/item.php | |
<?php if(osc_user_phone()!='') : ?> | |
<i class="fa fa-phone-square"></i> <span class="phone phone_hide"><?php echo osc_user_phone(); ?></span> | |
<span class="pull-right"><a class="btn btn-default btn-arrow-left" onclick="reveal_phone($(this));" href="#"><?php _e('Reveal', 'gum'); ?></a></span> | |
<?php endif; ?> | |
// replace the if statement by : | |
<?php if(osc_user_phone()!='' && osc_reg_user_can_contact() && !osc_is_web_user_logged_in() ) : ?> |