How to display product’s selected attribute’s name, value and price at wishilist page in CRE Loaded?

Before few days we have found a problem that product’s selected attribute’s name, value and price are not displaying at wishlist page.

Then to solve this issue and to display product’s selected attribute’s name, value and price at wishlist page we have done one change in “templates/content/wishlist.tpl.php” file.

And the change is,

On line 123 comment the under give code


$data = implode(",", $data);

Like,


// $data = implode(",", $data);

That’s it.

Hope this will help you…..

How to remove the annoying Paypal checkout button from the Shopping Cart page in CRE Loaded?

Before few days we had a requirement to remove the annoying Paypal checkout button from the Shopping Cart page.
To fulfill that requirement we just did one change in “templates/content/shoppingcart.tpl.php” file.
On line 363 comment the

echo $cre_RCI->get('shoppingcart', 'logic');

code like,

//echo $cre_RCI->get('shoppingcart', 'logic');

Solve The % Calculation mistake in coupon code module

In Cre loaded when you set a % in coupon code at that time it will not count its properly the only mistake is
there is a no proper Operator Precedence in the coupon code module

in the includes/modules/order_total/ot_copuon.php

in the function credit_calculate()

find the code

$pod_amount = tep_round($pr_c*10,2)/10*c_deduct/100;

replace with this

$pod_amount = (((tep_round($pr_c*10,2)/10)*c_deduct)/100);

Solve the The blank page of process_checkout problem in cre because of Authorize.net

some time there is a pull of buffer in php while doing the payment in authorize.net
so checkout_process.php is not redirect the page to the checkout_success.php

so solve this problem at the end you find

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'order_id='. $insert_id.'&customer_id='.$_SESSION['customer_id'], 'SSL'));

To get the solution of this problem you have declare one variable before all the sessiojn unset in the file

$payment_type_authorize = $_SESSION['payment'];

and then redirect the page with javascript by applying the condition of if(payment=authorize.net)


  if($payment_type_authorize == 'authorizenet') { ?>
<script language="javascript">
  window.location  = " <?php echo tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'order_id='. $insert_id.'&customer_id='.$_SESSION['customer_id'], 'SSL'); ?>";
</script>
<?php
 }
 else
 {
   tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'order_id='. $insert_id.'&customer_id='.$_SESSION['customer_id'], 'SSL'));
  }

thanks

remove a breadcrumb in cre loaded

for removing breadcrumb you have to find $breadcrumb->trail in catalog/template/your_template_name/main_page.tpl.php

comment out that line


<!--      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr class="headerNavigation">
            <td class="headerNavigation">&nbsp;&nbsp;<?php echo $breadcrumb->trail(' &raquo; '); ?></td> 
        </tr>
      </table>-->


i hope this will help you very much

thanks

Remove a Default Template Button In Cre Loaded

For removing a default template button in cre you have to change in TEMPLATE_BUTTONS_USE_CSS

is acutaly check a condition in a file extra_output.html

so removing this go to the

template/your template/template.php

on line number 89

 define('TEMPLATE_BUTTONS_USE_CSS','true');

replace by this line

define('TEMPLATE_BUTTONS_USE_CSS','false');

remove a cpatcha code case sensitivity

for working a captcha case sensitive you will have to do following changes in following file

file

/catalog/contact_us.php

line number 81


 if ( isset($_POST['visual_verify_code']) && tep_not_null($_POST['visual_verify_code']) && 
         isset($code_array['code']) &&  tep_not_null($code_array['code']) && 
         strcmp($_POST['visual_verify_code'], $code_array['code']) == 0)

replace this code by following code


 if ( isset($_POST['visual_verify_code']) && tep_not_null($_POST['visual_verify_code']) && 
         isset($code_array['code']) &&  tep_not_null($code_array['code']) && 
         strcmp(mb_strtolower($_POST['visual_verify_code']), mb_strtolower($code_array['code'])) == 0)