Jump to content
Latest News: (loading..)

rubberfashion

Members
  • Content count

    29
  • Joined

  • Last visited

About rubberfashion

  • Rank
    Rubberfashion

Profile Information

Recent Profile Visitors

1,441 profile views
  1. rubberfashion

    RMA Returns System for osC2.3.4BS

    Next issue: When i try to return a product .... i get same page again. Continue reload only the page. I see only page with radio button again. This happen in front page, also in admin page. return_product.php?action=return_new&orders_id=....
  2. rubberfashion

    RMA Returns System for osC2.3.4BS

    When i put the content of the includes/functions/return_functions.php in General.php ... it works. But i also get this Text above the header: $orders_status['return_reason_id'], 'text' => $orders_status['return_reason_name'] ); } return $orders_status_array; } function tep_get_return_reason_name($return_reason_id, $language_id = '') { global $languages_id; if ($return_reason_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select return_reason_name from return_reasons where return_reason_id = '" . $return_reason_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['return_reason_name']; } function tep_calculate_deduct($price, $tax) { global $currencies; return (($price / 100) * $tax); } function tep_get_returns_status() { global $languages_id; $orders_status_array = array(); $orders_status_query = tep_db_query("select returns_status_id, returns_status_name from returns_status where language_id = '" . $languages_id . "' order by returns_status_id"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_status_array[] = array('id' => $orders_status['returns_status_id'], 'text' => $orders_status['returns_status_name'] ); } return $orders_status_array; } function tep_get_returns_status_name($returns_status_id, $language_id = '') { global $languages_id; if ($returns_status_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select returns_status_name from returns_status where returns_status_id = '" . $returns_status_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['returns_status_name']; } function tep_get_refund_method() { global $languages_id; $orders_status_array = array(); $orders_status_query = tep_db_query("select refund_method_id, refund_method_name from refund_method where language_id = '" . $languages_id . "' order by refund_method_id"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_status_array[] = array('id' => $orders_status['refund_method_id'], 'text' => $orders_status['refund_method_name'] ); } return $orders_status_array; } function tep_get_refund_method_name($refund_method_id, $language_id = '') { global $languages_id; if ($refund_method_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select refund_method_name from refund_method where refund_method_id = '" . $refund_method_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['refund_method_name']; } function tep_remove_return($order_id, $restock = false) { if ($restock == 'on') { $order_query = tep_db_query("select products_id, products_quantity from returns_products_data where returns_id = '" . tep_db_input($order_id) . "'"); while ($order = tep_db_fetch_array($order_query)) { tep_db_query("update products set products_quantity = products_quantity + " . $order['products_quantity'] . " where products_id = '" . $order['products_id'] . "'"); tep_db_query("update products set products_status = 1 where products_quantity > 0 and products_id = '" . $order['products_id'] . "'"); } } tep_db_query("delete from returned_products where returns_id = '" . tep_db_input($order_id) . "'"); tep_db_query("delete from returns_products_data where returns_id = '" . tep_db_input($order_id) . "'"); tep_db_query("delete from refund_payments where returns_id = '" . tep_db_input($order_id) . "'"); } When you comment out //include('includes/functions/return_functions.php'); in each file and put the functions in general.php the text in the header is not there.
  3. rubberfashion

    RMA Returns System for osC2.3.4BS

    If i comment out the function file //include('includes/functions/return_functions.php'); i get the same error. So maybe the file is not included.
  4. rubberfashion

    RMA Returns System for osC2.3.4BS

    Hi, yes, file is present.
  5. rubberfashion

    RMA Returns System for osC2.3.4BS

    How do i uninstall it?
  6. rubberfashion

    RMA Returns System for osC2.3.4BS

    Error for refund_methods.php Fatal error: Uncaught Error: Call to undefined function tep_get_refund_method_name() in ...\refund_methods.php:205 Stack trace: #0 {main} thrown in ...\refund_methods.php on line 205 $orders_status['return_reason_id'], 'text' => $orders_status['return_reason_name'] ); } return $orders_status_array; } function tep_get_return_reason_name($return_reason_id, $language_id = '') { global $languages_id; if ($return_reason_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select return_reason_name from return_reasons where return_reason_id = '" . $return_reason_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['return_reason_name']; } function tep_calculate_deduct($price, $tax) { global $currencies; return (($price / 100) * $tax); } function tep_get_returns_status() { global $languages_id; $orders_status_array = array(); $orders_status_query = tep_db_query("select returns_status_id, returns_status_name from returns_status where language_id = '" . $languages_id . "' order by returns_status_id"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_status_array[] = array('id' => $orders_status['returns_status_id'], 'text' => $orders_status['returns_status_name'] ); } return $orders_status_array; } function tep_get_returns_status_name($returns_status_id, $language_id = '') { global $languages_id; if ($returns_status_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select returns_status_name from returns_status where returns_status_id = '" . $returns_status_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['returns_status_name']; } function tep_get_refund_method() { global $languages_id; $orders_status_array = array(); $orders_status_query = tep_db_query("select refund_method_id, refund_method_name from refund_method where language_id = '" . $languages_id . "' order by refund_method_id"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_status_array[] = array('id' => $orders_status['refund_method_id'], 'text' => $orders_status['refund_method_name'] ); } return $orders_status_array; } function tep_get_refund_method_name($refund_method_id, $language_id = '') { global $languages_id; if ($refund_method_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select refund_method_name from refund_method where refund_method_id = '" . $refund_method_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['refund_method_name']; } function tep_remove_return($order_id, $restock = false) { if ($restock == 'on') { $order_query = tep_db_query("select products_id, products_quantity from returns_products_data where returns_id = '" . tep_db_input($order_id) . "'"); while ($order = tep_db_fetch_array($order_query)) { tep_db_query("update products set products_quantity = products_quantity + " . $order['products_quantity'] . " where products_id = '" . $order['products_id'] . "'"); tep_db_query("update products set products_status = 1 where products_quantity > 0 and products_id = '" . $order['products_id'] . "'"); } } tep_db_query("delete from returned_products where returns_id = '" . tep_db_input($order_id) . "'"); tep_db_query("delete from returns_products_data where returns_id = '" . tep_db_input($order_id) . "'"); tep_db_query("delete from refund_payments where returns_id = '" . tep_db_input($order_id) . "'"); } Error for returns_reasons.php: Fatal error: Uncaught Error: Call to undefined function tep_get_return_reason_name() in ...\returns_reasons.php:204 Stack trace: #0 {main} thrown in ...\returns_reasons.php on line 204 $orders_status['return_reason_id'], 'text' => $orders_status['return_reason_name'] ); } return $orders_status_array; } function tep_get_return_reason_name($return_reason_id, $language_id = '') { global $languages_id; if ($return_reason_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select return_reason_name from return_reasons where return_reason_id = '" . $return_reason_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['return_reason_name']; } function tep_calculate_deduct($price, $tax) { global $currencies; return (($price / 100) * $tax); } function tep_get_returns_status() { global $languages_id; $orders_status_array = array(); $orders_status_query = tep_db_query("select returns_status_id, returns_status_name from returns_status where language_id = '" . $languages_id . "' order by returns_status_id"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_status_array[] = array('id' => $orders_status['returns_status_id'], 'text' => $orders_status['returns_status_name'] ); } return $orders_status_array; } function tep_get_returns_status_name($returns_status_id, $language_id = '') { global $languages_id; if ($returns_status_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select returns_status_name from returns_status where returns_status_id = '" . $returns_status_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['returns_status_name']; } function tep_get_refund_method() { global $languages_id; $orders_status_array = array(); $orders_status_query = tep_db_query("select refund_method_id, refund_method_name from refund_method where language_id = '" . $languages_id . "' order by refund_method_id"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_status_array[] = array('id' => $orders_status['refund_method_id'], 'text' => $orders_status['refund_method_name'] ); } return $orders_status_array; } function tep_get_refund_method_name($refund_method_id, $language_id = '') { global $languages_id; if ($refund_method_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select refund_method_name from refund_method where refund_method_id = '" . $refund_method_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['refund_method_name']; } function tep_remove_return($order_id, $restock = false) { if ($restock == 'on') { $order_query = tep_db_query("select products_id, products_quantity from returns_products_data where returns_id = '" . tep_db_input($order_id) . "'"); while ($order = tep_db_fetch_array($order_query)) { tep_db_query("update products set products_quantity = products_quantity + " . $order['products_quantity'] . " where products_id = '" . $order['products_id'] . "'"); tep_db_query("update products set products_status = 1 where products_quantity > 0 and products_id = '" . $order['products_id'] . "'"); } } tep_db_query("delete from returned_products where returns_id = '" . tep_db_input($order_id) . "'"); tep_db_query("delete from returns_products_data where returns_id = '" . tep_db_input($order_id) . "'"); tep_db_query("delete from refund_payments where returns_id = '" . tep_db_input($order_id) . "'"); } Error for returns_reasons.php: Fatal error: Uncaught Error: Call to undefined function tep_get_returns_status_name() in ...\returns_status.php:220 Stack trace: #0 {main} thrown in ...\returns_status.php on line 220 orders_status['return_reason_id'], 'text' => $orders_status['return_reason_name'] ); } return $orders_status_array; } function tep_get_return_reason_name($return_reason_id, $language_id = '') { global $languages_id; if ($return_reason_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select return_reason_name from return_reasons where return_reason_id = '" . $return_reason_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['return_reason_name']; } function tep_calculate_deduct($price, $tax) { global $currencies; return (($price / 100) * $tax); } function tep_get_returns_status() { global $languages_id; $orders_status_array = array(); $orders_status_query = tep_db_query("select returns_status_id, returns_status_name from returns_status where language_id = '" . $languages_id . "' order by returns_status_id"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_status_array[] = array('id' => $orders_status['returns_status_id'], 'text' => $orders_status['returns_status_name'] ); } return $orders_status_array; } function tep_get_returns_status_name($returns_status_id, $language_id = '') { global $languages_id; if ($returns_status_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select returns_status_name from returns_status where returns_status_id = '" . $returns_status_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['returns_status_name']; } function tep_get_refund_method() { global $languages_id; $orders_status_array = array(); $orders_status_query = tep_db_query("select refund_method_id, refund_method_name from refund_method where language_id = '" . $languages_id . "' order by refund_method_id"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_status_array[] = array('id' => $orders_status['refund_method_id'], 'text' => $orders_status['refund_method_name'] ); } return $orders_status_array; } function tep_get_refund_method_name($refund_method_id, $language_id = '') { global $languages_id; if ($refund_method_id < 1) return TEXT_DEFAULT; if (!is_numeric($language_id)) $language_id = $languages_id; $status_query = tep_db_query("select refund_method_name from refund_method where refund_method_id = '" . $refund_method_id . "' and language_id = '" . $language_id . "'"); $status = tep_db_fetch_array($status_query); return $status['refund_method_name']; } function tep_remove_return($order_id, $restock = false) { if ($restock == 'on') { $order_query = tep_db_query("select products_id, products_quantity from returns_products_data where returns_id = '" . tep_db_input($order_id) . "'"); while ($order = tep_db_fetch_array($order_query)) { tep_db_query("update products set products_quantity = products_quantity + " . $order['products_quantity'] . " where products_id = '" . $order['products_id'] . "'"); tep_db_query("update products set products_status = 1 where products_quantity > 0 and products_id = '" . $order['products_id'] . "'"); } } tep_db_query("delete from returned_products where returns_id = '" . tep_db_input($order_id) . "'"); tep_db_query("delete from returns_products_data where returns_id = '" . tep_db_input($order_id) . "'"); tep_db_query("delete from refund_payments where returns_id = '" . tep_db_input($order_id) . "'"); }
  7. rubberfashion

    [Addon] Extended Reviews

    Also change: catalog\includes\modules\content\product_info\cm_pi_extended_reviews.php: } else { $review_data .= '<div>'. REVIEWS_TEXT_RATED_LETKNOW .'</div>'; } ob_start(); include('includes/modules/content/' . $this->group . '/templates/extended_reviews.php'); Also update catalog\includes\languages\english\modules\content\product_info\cm_pi_extended_reviews.php define('REVIEWS_TEXT_RATED_LETKNOW','Let other customers know about this product.'); Also update catalog\includes\languages\german\modules\content\product_info\cm_pi_extended_reviews.php define('REVIEWS_TEXT_RATED_LETKNOW','Teilen sie Ihre Erfahrungen über dieses Produkt mit anderen!');
  8. rubberfashion

    [Addon] Extended Reviews

    Hello, nice work!! here some changes for better multilanguage support: catalog/review.php and catalog/product_reviews.php: echo '<p style="margin-top:15px;"><span>' . REVIEWS_TEXT_RATED_HELPFUL . ' </span><a href="javascript:reviewVote(\'votesUp\', '.$reviews['reviews_id'].')" class="btn btn-default"><span class="fa fa-thumbs-up fa-lg"></span><span class="numUpDv" id="vUP_'.$reviews['reviews_id'].'" '.$upvotes_num_style.'> '.$r_upvotes.' </span> '. REVIEWS_TEXT_RATED_THANK .' '.$reviews_name.'</a> <a href="javascript:reviewVote(\'votesDown\','.$reviews['reviews_id'].')" class="btn btn-default"><span class="fa fa-thumbs-down fa-lg"></span><span class="numUpDv" id="vDOWN_'.$reviews['reviews_id'].'" '.$downvotes_num_style.'> '.$r_downvotes.' </span></a></p>'; <script> function reviewVote(vote_action, review_id){ var posturl = '<?php echo tep_href_link('ajax_review_votes.php','',$request_type);?>'; var pass_data = 'action=' + vote_action + '&reviews_id=' + review_id; $.ajax({ url: posturl, data: pass_data, type: 'POST', success: function(data) { if(data == 'NOTOK'){ var message = '<?php echo REVIEWS_TEXT_RATED_NOTALLOWEDSEND;?>'; }else if(data == 'already_voted'){ var message = '<?php echo REVIEWS_TEXT_RATED_ALREADYVOTED;?>'; alert(message); }else if(data == ''){ var message = '<?php echo REVIEWS_TEXT_RATED_TRYAGAIN;?>'; alert(message); }else if(data.match(/^\d+$/)){ if(vote_action == 'votesUp'){ $("#vUP_" + review_id).html(" " + data + " "); $("#vUP_" + review_id).show(); //alert(data); }else if(vote_action == 'votesDown'){ $("#vDOWN_" + review_id).html(" " + data + " "); $("#vDOWN_" + review_id).show(); //alert(data); } }else{ alert(data); alert("<?php echo REVIEWS_TEXT_RATED_ERRORINCODE;?>"); } //alert(data); }, error: function() { var message = '<?php echo REVIEWS_TEXT_RATED_ERRORAJAX;?>'; alert(message); } });//end call ajax } </script> ADD: \catalog\includes\languages\german\reviews.php and product_reviews.php : define('REVIEWS_TEXT_RATED_HELPFUL','War diese Bewertung hilfreich?'); define('REVIEWS_TEXT_RATED_THANK','Danke'); define('REVIEWS_TEXT_RATED_NOTALLOWEDSEND','Sie dürfen dieses Formular nicht senden!'); define('REVIEWS_TEXT_RATED_ALREADYVOTED','Ihre Stimme wurde bereits erfasst. Vielen Dank!'); define('REVIEWS_TEXT_RATED_TRYAGAIN','Es tut uns leid! Bitte versuche es erneut.'); define('REVIEWS_TEXT_RATED_ERRORINCODE','Fehler im Code!'); define('REVIEWS_TEXT_RATED_ERRORAJAX','Fehler bei ajax! Bitte versuchen Sie es erneut.'); \catalog\includes\languages\english\reviews.php and product_reviews.php : define('REVIEWS_TEXT_RATED_HELPFUL','Was this review helpful?'); define('REVIEWS_TEXT_RATED_THANK','Thank'); define('REVIEWS_TEXT_RATED_NOTALLOWEDSEND','You are not allowed to send this form!'); define('REVIEWS_TEXT_RATED_ALREADYVOTED','Your vote has been already recorded. Thank you!'); define('REVIEWS_TEXT_RATED_TRYAGAIN','Sorry! Please try again.'); define('REVIEWS_TEXT_RATED_ERRORINCODE','Error in code!'); define('REVIEWS_TEXT_RATED_ERRORAJAX','Error in ajax!Please try again.');
  9. rubberfashion

    Display Tax Info V3.0

    Thank you Rainer @raiwa :)
  10. rubberfashion

    Display Tax Info V3.0

    Hi Rainer, great contribution! problem exists anymore. ( I have one problem when I enable this add on for the : product_info.php page, I get the following at the top left side of this page : Incl. 21% BTW"> Incl. 21% BTW" /> ) After deactivating the open_graph in SEO Header Tag V3.3.5 the problem is solved. Kind Regards David
  11. rubberfashion

    [Contribution] Ship In Cart

    Hi, Attention: cm_cart_shipping_estimator.php echo '<br>$selected_address' . $selected_address; echo '<br>$sendto' . $sendto; echo '<br>$cart_address_id' . $cart_address_id; Debug-Modus?!?
  12. rubberfashion

    Latest News Rotator Multilingual 1.0 BS

    Please send a message to info@rubberfashion.de I will send you the file then. Regards Dave
  13. rubberfashion

    [Contribution] Ship In Cart

    Thanks Rainer for your help :) Nice Contrib. Great Work!
  14. rubberfashion

    [Contribution] Ship In Cart

    Hi, i have tried with new shopping_cart.php from fresh installation. No Change. I had deactivated all shipping modules and deactivate separatly. No Channge. When i push the Update Button (new quantity) the shipping costs window get empty. I do not know if it make sense to send you the code of the edited shopping_cart.php. Maybe it is an error in application_top.php?? Maybe i can send you my modified shopping_cart.php via PN. Much Thanks for your help!! Kind Regards Dave
×