Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  1. B!!!

    [Addon} Modular Front Page

    I got the custom coding for the image done, but couldn't figure out how determine when it should appear. All I really needed was an "if" statement but couldn't figure out the variable to test with. In the end I used this: if($specials_products['products_quantity'] == 0 But I had to add "p.products_quantity," to the query. If there is a better or more efficient way, please let me know. I tried to keep things as vanilla as possible, but this works quite well.
  2. B!!!

    [Addon} Modular Front Page

    I run a store that sells a lot of one-off items. Because of this, we'd like to put a "sold out stamp" on the photos of items that have sold. Is there a way to determine if an item's quantity is zero in the Featured, New Products, or Specials? EDIT: Never mind. I figured it out. Had to add "p.products_quantity," to the query. Naturally I figure this out seconds after posting this.
  3. I don't know about the Multizone-Multitable contribution, but following the instructions below should fix the mobile_checkout_shipping.php file so that it looks right if you have more than two shipping options available for customers. Find at about line 178: <div id="module"> <?php echo $quotes[$i]['module']; ?></b> <?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?> Add <br /> on line after so it looks like this: <div id="module"> <?php echo $quotes[$i]['module']; ?></b> <?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?> <br /> At about line 202, find: <?php echo $quotes[$i]['methods'][$j]['title']; ?> </div> Remove (or comment out) </div> At about line 212, find: <?php $radio_buttons++; } } } } ?> Change so that it looks like this: <?php $radio_buttons++; ?> <br /> <?php }?> </div> <?php } } } ?> That last one looks a little funny, but I didn't use proper formatting to keep things simple and not change the look of the original code too much.
  4. Have another... (and by the way, looked through most of these 20 pages for bug fixes, so my apologies if these have been previously posted) Clicking the Confirm Order button confirms your order, but puts you back on the non-mobile site. Fix: Add this line to the mobile/includes/configure.php file. define('FILENAME_MOBILE_CHECKOUT_PROCESS', 'mobile_checkout_process.php'); In mobile_checkout_confirmation.php, change the line on about 86 from: $form_action_url = tep_mobile_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); to this: $form_action_url = tep_mobile_link(FILENAME_MOBILE_CHECKOUT_PROCESS, '', 'SSL');
  5. Found another bug. On the Order Confirmation page, mobile_checkout_confirmation.php, change this line at about 183: echo '<div class="gras">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'],0, $order->products[$i]['qty']) . '' . '</div>' . to echo '<div class="gras">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . '' . '</div><br />' . Again, I got rid of the "0," so that actual prices display. I also added a "<br />" code in there to force line breaks between multiple products so things line up correctly when there are product options.
  6. I got this one figured out. MATC is apparently another add-on for Terms and Conditions. So if you don't already have this add-on, you will get errors. If you don't want to install this, simply remove (or comment out) the lines in your mobile_create_account.php file at around line 48 that look like this: //----- BEGINNING OF ADDITION: MATC -----// if (tep_db_prepare_input($HTTP_POST_VARS['TermsAgree']) != 'true' and MATC_AT_REGISTER != 'false') { $error = true; $messageStack->add('create_account', MATC_ERROR); } //----- END OF ADDITION: MATC -----// ...and also at the bottom (around line 363) that look like this: <h1>Conditions générales de vente</h1> <label for="cgv" class="float"><?php echo 'CGV'; ?> *</label> <?php //----- BEGINNING OF ADDITION: MATC -----// if(MATC_AT_REGISTER != 'false'){ require(DIR_MOBILE_MODULES . 'matc.php'); } //----- END OF ADDITION: MATC -----// ?>
  7. Have you tried creating an account using the mobile site? I tried on yours and kept getting an "MATC_ERROR", whatever that is. I also get the same thing on mine.
  8. One of the issues on your site is that the line items of your mobile shopping cart don't show the correct line total. This can be fixed by changing this line in mobile_shopping_cart.php (about line 113): 'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']),0, $products[$i]['quantity']) . '</b>'); to 'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b>'); Basically, you are just getting rid of "0," from the line.
  9. Or... is there an official USPS Methods thread? My searches haven't returned anything that fits my problem.
  10. I just upgraded to v3.0 of USPS Methods and everything seems to work fine except that First Class Mail International doesn't show up as on option for customers anymore even though it is checked in the admin area. The other options I have checked appear in the list. Any help? Please? B
  11. B!!!


    Hey Vger, thanks for the help. Unfortunately, I already made that change to my checkout_process.php file. Anything else you can think of that might point me to a solution?
  12. B!!!


    I installed CCGV recently (sweet work Vger) and because of it upgraded to PayPal IPN 1.3 and made the necessary mods. Unfortunately, something doesn't work with PayPal and I get this error when returning to checkout_process.php: "Fatal error: Cannot redeclare class order_total in /home/virtual/site2/fst/var/www/html/includes/classes/order_total.php on line 13" ...which I found a fix for, but now I get: "Fatal error: Cannot redeclare class ot_subtotal in /home/virtual/site2/fst/var/www/html/includes/modules/order_total/ot_subtotal.php on line 13" I've searched and searched and finally asked about this in the PayPal support thread, but no one seems to know about this. I wouldn't even be asking in this thread but I removed Paypal 1.3 and reinstalled 1.1 and I still get the same error, which points me back to CCGV. Has anyone else here done the same process and gotten the same error?
  13. B!!!

    Official PayPal IPN Support Thread

    I saw a very similar fix earlier in the thread (it said to only do that in one specific spot) and did that one, and like the other guy now I get: "Fatal error: Cannot redeclare class ot_subtotal in /home/virtual/site2/fst/var/www/html/includes/modules/order_total/ot_subtotal.php on line 13" ...which is extremely similar, but I can't find a file anywhere that tries to include or require ot_subtotal.php. I actually contacted the other guy and he said he never could figure it out and I guess he dropped paypal completely. Unfortunately, a lot of my customers want to use paypal.
  14. B!!!

    Official PayPal IPN Support Thread

    Ok, now I'm more confused. I removed 1.3 and reinstalled version 1.1, but I still get the same error: "Fatal error: Cannot redeclare class order_total in /home/virtual/site2/fst/var/www/html/includes/classes/order_total.php on line 13" So it seems that PayPal IPN 1.3 isn't causing this after all, yet it only showed up after installing 1.3. I don't have a clue as to how to begin debugging this.
  15. B!!!

    Official PayPal IPN Support Thread

    (crickets) Anybody? Hello?