Jump to content


Member Since 07 Jan 2010
OFFLINE Last Active Today, 00:48

Topics I've Started

Apple Pay - who's up for a challenge

10 January 2017 - 02:29

As noted in this thread http://forums.oscomm...s/?fromsearch=1

Most of us store owners have seen a massive shift to mobile in the last 12 to 18 months. This was probably expected for most of us... however the challenge to optimize our sites to this new environment is on going. Not just in "display" but also in things like payment options.

Our site as an example now receive more than 50% of traffic from mobile - even more if you include tablet. Of which 47% is on IOS (add another 15% if you include tablet).

Tapping into Apples built in payment system (Apple Pay) seems like a logical next step to optimize our stores.

The bad news.... it's well beyond my skill level to understand how to do this....

The good news... Etsy, a huge (eBay "like") North America Ecom company, has released its Apple Pay code open source.


This "call to action" is for other store owners like me... who have enough knowledge to be dangerous.... to get together and; 1) either figure out how to make a payment module OR 2) put together our penny's and pay one of the fine coders here to do it for us.

Who's interested... in option 1 or option 2.

Pretty'ing up Shopping Cart in navbar_modules

29 November 2016 - 16:55

Hey all, I'm trying to pretty up the navbar shopping cart for the modular navbar in EDGE and I'm having one small issue.


I'm trying to include the Checkout with PayPal button.... All works well UNLESS I'm on the shopping_cart.php or checkout_payment.php pages where, I presume, the payment class (and or the button) is already included.


Below is my template code - anyone willing to take a look at it... I would  greatly appreciate it.


It's not the end of the world if the Checkout with PayPal button is not included on either of these 2 pages - however I'm also sure there must be a way (with a well crafted if statement) to get it to work.... It just seems to be eluding me.

   if ($cart->count_contents() > 0) {
  <li class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#"><?php echo sprintf(MODULE_NAVBAR_SHOPPING_CART_CONTENTS, $cart->count_contents()); ?></a>
    <ul class="dropdown-menu">
      <li><?php echo '<a href="' . tep_href_link('shopping_cart.php') . '">' . sprintf(MODULE_NAVBAR_SHOPPING_CART_HAS_CONTENTS, $cart->count_contents(), $currencies->format($cart->show_total())) . '</a>'; ?></li>
      <li role="separator" class="divider"></li>
      $products = $cart->get_products();
      foreach ($products as $k => $v) {
        echo '<li>' . sprintf(MODULE_NAVBAR_SHOPPING_CART_PRODUCT, $v['id'], $v['quantity'], $v['name']) . '</li>';
      <li role="separator" class="divider"></li>

    <div class="buttonSet">
    <div class="text-center"><?php echo tep_draw_button(IMAGE_BUTTON_CHECKOUT, 'fa fa-truck', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'primary', NULL, 'btn-success'); ?></div>

   if(!class_exists('payment')) {
    include_once(DIR_WS_CLASSES . 'payment.php');
    $payment_modules = new payment;
    $initialize_checkout_methods = $payment_modules->checkout_initialization_method();

    if (!empty($initialize_checkout_methods)) {
  <div class="clearfix"></div>
  <p class="text-center"><?php echo " -OR- " ?></p>


      while (list(, $value) = each($initialize_checkout_methods)) {

  <p class="text-center"><?php echo $value; ?></p>


else {
  echo '<li> <a class="dropdown-toggle">' . MODULE_NAVBAR_SHOPPING_CART_NO_CONTENTS . '</a></li>';

New Content section of forum

20 August 2016 - 12:09

Anybody else having an issue with the New Content page of the forum? It been blanks since yesterday...