Jump to content

joshtolin

Members
  • Content count

    9
  • Joined

  • Last visited

Profile Information

  • Real Name
    Josh Tolin
  1. joshtolin

    Registry Contribution (Support Thread)

    yes i did resolve it...I basically added an if/then checking the origin... I am not by any means a php pro, so the code probably is not proper, but it works for me. I am pretty sure this is all I changed, but not positive. This code should replace the code on the products_info page where it adds to "add to cart" button. Be sure to test extensively, I cannot guarrantee this. I hope this will at least get you started. /Josh <!-- start gift registry //--> <tr><td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <?php if(($HTTP_GET_VARS['registry_id'])){$HTTP_GET_VARS['origin_link'] = FILENAME_DISPLAY_REGISTRY_PRODUCTS; ?> <tr> <td class="main"> <table border="0" width="100%"><tr><td width="50%"> <?php if($navigation->path[sizeof($navigation->path)-2]){ echo '<a href="' . tep_href_link(FILENAME_DISPLAY_REGISTRY_PRODUCTS, 'registry_id=' . $HTTP_GET_VARS['registry_id']) . '">' . tep_image_button('button_back.gif', BOX_SEARCH_REGISTRY_SEARCH) . '</a>'; }else{ echo ' '; } ?> </td></tr></table></td> </tr> </table></td> <!-- body_text_eof //--> </tr> <?php } if($registry_mode_id == 0 && !($HTTP_GET_VARS['registry_id'])){ ?> <tr> <td width="15%" height="40" align="left" class="main"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART, 'name="submit_cart"'); ?> <br><br> </td> </tr> <?php }elseif($registry_mode_id != 0){ ?> <tr> <td class="main" align="left" valign="middle"> <!--test to see if 2 submit buttons work!? //--> <input type="text" name="products_quantity_registry" value="1" size="2"> </td> <td width="15%" height="40" class="main" align="right" valign="middle"> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_add_to_registry.gif', IMAGE_BUTTON_ADD_TO_REGISTRY, 'name="submit_registry"'); ?> <br><br> </td> </tr> <?php } ?> </table> <!-- end gift registry //--> <?php if(!($HTTP_GET_VARS['registry_id'])){ ?>
  2. joshtolin

    Registry Contribution (Support Thread)

    Hi- I'm looking for some help on the registry contrib, which is great by the way. If a customer views the product from the registry list (product_info.php) then adds it to cart, the purchase is not applied to the registry. Is there a way I can either replace the "add to cart" button with a "back to registry" button (only if coming from the registry list page) or that the registry info can be passed to the product_info page when accessed from the registry list? Any help will be greatly appreciated. /Josh
  3. joshtolin

    PayPal WPP Direct Payments & Express Checkout Support

    The trick is not to install the other wpp ec contrib.
  4. joshtolin

    PayPal WPP Direct Payments & Express Checkout Support

    thanks glen and dynamo, thought I'd give it a try. /Josh
  5. joshtolin

    PayPal WPP Direct Payments & Express Checkout Support

    First of all, this is a great contribution, dynamo. I am a new user to oscommerce, but I have seen some not-so-good contributions; this is definitely a great one. Here is my problem... If a customer waits until the payment information page of the checkout to select Paypal, it goes through the rest of the process, then sends them to Paypal. That is fine by me. What I don't like is that when the customer completes their Paypal process, it sends them back to the delivery information page and the customer has to click through until the finished page. Is there something I can do to have the customer sent directly to the end of the process? Thanks. /Josh
  6. joshtolin

    When Paypal returns to checkout

    First of all, this is a great contribution, dynamo. I am a new user to oscommerce, but I have seen some not-so-good contributions; this is definitely a great one. Here is my problem... If a customer waits until the payment information page of the checkout to select Paypal, it goes through the rest of the process, then sends them to Paypal. That is fine by me. What I don't like is that when the customer completes their Paypal process, it sends them back to the delivery information page and the customer has to click through until the finished page. Is there something I can do to have the customer sent directly to the end of the process? Thanks. /Josh
×