Search the Community
Showing results for tags '2.3.4'.
-
Hi, I will be closing one of our 2.3.4 websites shortly and concentrating our other 2.3.4 website. I would like somehow to add a redirect from the closing store to the live store and display a message for a few seconds prior to the redirect happening. I know that a 301 redirect would be the best way to add the redirect, but my understanding is that you cant add a message to a 301? I also need to keep access available to my admin area for a while to continue to view orders for items still under warranty. What would the best way to do this please?
-
Hi, We have been using EPDQ without problem for the last few years. However, last year Barclays changed their requirements meaning that the current integration no longer worked and we had to pause taking online payments using EPDQ. The old EPDQ add-on developers are no longer around, and I was wondering if anyone was using EPDQ successfully at the moment? using the following Barclays requirements: <form method="post" action="https://mdepayments.epdq.co.uk/ncol/test/orderstandard_utf8.asp" id=form1 name=form1> <!-- general parameters: see Form parameters --> <input type="hidden" name="PSPID" value=""> <input type="hidden" name="ORDERID" value=""> <input type="hidden" name="AMOUNT" value=""> <input type="hidden" name="CURRENCY" value=""> <input type="hidden" name="LANGUAGE" value=""> <input type="hidden" name="CN" value=""> <input type="hidden" name="EMAIL" value=""> <input type="hidden" name="OWNERZIP" value=""> <input type="hidden" name="OWNERADDRESS" value=""> <input type="hidden" name="OWNERCTY" value=""> <input type="hidden" name="OWNERTOWN" value=""> <input type="hidden" name="OWNERTELNO" value=""> <!-- check before the payment: see Security: Check before the payment --> <input type="hidden" name="SHASIGN" value=""> <!-- layout information: see Look and feel of the payment page --> <input type="hidden" name="TITLE" value=""> <input type="hidden" name="BGCOLOR" value=""> <input type="hidden" name="TXTCOLOR" value=""> <input type="hidden" name="TBLBGCOLOR" value=""> <input type="hidden" name="TBLTXTCOLOR" value=""> <input type="hidden" name="BUTTONBGCOLOR" value=""> <input type="hidden" name="BUTTONTXTCOLOR" value=""> <input type="hidden" name="LOGO" value=""> <input type="hidden" name="FONTTYPE" value=""> <!-- post payment redirection: see Transaction feedback to the customer --> <input type="hidden" name="ACCEPTURL" value=""> <input type="hidden" name="DECLINEURL" value=""> <input type="hidden" name="EXCEPTIONURL" value=""> <input type="hidden" name="CANCELURL" value=""> <input type="submit" value="" id=submit2 name=submit2> </form> Any help would be greatly appreciated.
-
I have suddenly found myself unable to take any payments via PayPal on my 2.3.4 site using the PayPal app. I made some changes to the site which failed so had to ask the host to do a files and database restore to a point before I made the changes. However, I now have this annoying issue - when a customer elects to pay by PayPal he is taken to the PayPal site to login etc. The item cost only is shown (without shipping), he is then taken back to the site to confirm and pay. In doing so he is taken back to the PayPal site again - this time with shipping included. He is then taken back to the site to confirm again - and so starts an endless loop between PayPal and our confirmation page. There are no errors shown in the error log and my host assures me that no changes have been made to the server. Has anyone come across this before? Many Thanks
-
Hi, On my development site which is 2.3.4 I have the paypal app installed and activated, although I have never added any live or sandbox credentials to it. During an upgrade to the site it has been seen that there are 100's of duplicate entries in the database. (actually around 1000) Could someone who is using the app please have a look at their database configuration table and check for duplicates of entries beginning with: OSCOM_APP_PAYPAL Many Thanks
-
The new paypal app introduces a new admin/orders.php file if like me you had modified the original file to incorporate changes, then these changes will be lost on installing the new file. the purpose of this thread is to allow people to share the changes they find are needed to re-instate these mods in the new files bundled with the paypal app.
-
Hi, I loaded the CCGV module for osC2.3.4. I can't send a gift voucher via e-mail either from my website or from my admin panel. It just clocks and ultimately times out. I can send a regular email from the admin panel. Can someone help me with this? ARB
- 2 replies
-
- gift vouchers
-
(and 2 more)
Tagged with:
-
Hi, Hopefully this is the last problem I will have with this mod...... Everything is now working as it should, wishlists can be created and emailed etc. When an email is sent the recipient can click the link to see the creators public wishlist (catalog/public_wishlist.php) BUT when he clicks on the link to add the selected items to his shopping cart he is taken back to index.php and nothing is added to the cart. is there anything wrong with the code below that would prevent the items being added to his cart? <?php /* $Id: wishlist_public.php,v 3.0 2005/04/20 Dennis Blake osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_WISHLIST); if(!isset($_GET['public_id'])) { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } $public_id = $_GET['public_id']; /******************************************************************* ****************** QUERY CUSTOMER INFO FROM ID ********************* *******************************************************************/ $customer_query = tep_db_query("select customers_firstname, customers_lastname from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$public_id . "'"); $customer = tep_db_fetch_array($customer_query); /******************************************************************* ****************** ADD PRODUCT TO SHOPPING CART ******************** *******************************************************************/ if (isset($HTTP_POST_VARS['add_wishprod'])) { foreach ($HTTP_POST_VARS['add_wishprod'] as $value) { $product_id = tep_get_prid($value); $cart->add_cart($product_id, $cart->get_quantity(tep_get_uprid($product_id, $HTTP_POST_VARS['id'][$value]))+1, $HTTP_POST_VARS['id'][$value]); } tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } $breadcrumb->add(NAVBAR_TITLE_WISHLIST, tep_href_link(FILENAME_WISHLIST, '', 'SSL')); require(DIR_WS_INCLUDES . 'template_top.php'); ?> <h1><?php echo $customer['customers_firstname'] . ' ' . $customer['customers_lastname'] . HEADING_TITLE2; ?></h1> <?php echo tep_draw_form('wishlist_form', $PHP_SELF); ?> <?php if ($messageStack->size('wishlist') > 0) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><?php echo $messageStack->output('wishlist'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> </table> <?php } /******************************************************************* ****** QUERY THE DATABASE FOR THE CUSTOMERS WISHLIST PRODUCTS ****** *******************************************************************/ $wishlist_query_raw = "select * from " . TABLE_WISHLIST . " where customers_id = '" . (int)$public_id . "'"; $wishlist_split = new splitPageResults($wishlist_query_raw, MAX_DISPLAY_WISHLIST_PRODUCTS); $wishlist_query = tep_db_query($wishlist_split->sql_query); ?> <!-- customer_wishlist //--> <?php if (tep_db_num_rows($wishlist_query)) { if ($wishlist_split->number_of_rows > 0 && (PREV_NEXT_BAR_LOCATION == '1' || PREV_NEXT_BAR_LOCATION == '3')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $wishlist_split->display_count(TEXT_DISPLAY_NUMBER_OF_WISHLIST); ?></td> <td align="right" class="smallText"><?php echo TEXT_RESULT_PAGE . ' ' . $wishlist_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <?php } ?> <table border="0" width="100%" cellspacing="0" cellpadding="3" class="productListing"> <tr> <td class="productListing-heading"><?php echo BOX_TEXT_IMAGE; ?></td> <td class="productListing-heading"><?php echo BOX_TEXT_PRODUCT; ?></td> <td class="productListing-heading"><?php echo BOX_TEXT_PRICE; ?></td> <td class="productListing-heading" align="center"><?php echo BOX_TEXT_SELECT; ?></td> </tr> <?php /******************************************************************* ***** LOOP THROUGH EACH PRODUCT ID TO DISPLAY IN THE WISHLIST ****** *******************************************************************/ $i = 0; while ($wishlist = tep_db_fetch_array($wishlist_query)) { $wishlist_id = tep_get_prid($wishlist['products_id']); $products_query = tep_db_query("select pd.products_id, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_status, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from ( " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd ) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where pd.products_id = '" . tep_db_input($wishlist_id) . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by products_name"); $products = tep_db_fetch_array($products_query); if (($i/2) == floor($i/2)) { $class = "productListing-even"; } else { $class = "productListing-odd"; } ?> <tr class="<?php echo $class; ?>"> <td valign="top" class="productListing-data" align="left"><?php if ($products['products_status'] != 0) echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $wishlist['products_id'], 'NONSSL') . '">'; echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); if ($products['products_status'] != 0) echo '</a>'; ?></td> <td valign="top" class="productListing-data" align="left" class="main"> <strong> <?php if ($products['products_status'] != 0) echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $wishlist['products_id'], 'NONSSL') . '">'; echo $products['products_name']; if ($products['products_status'] != 0) echo '</a>'; ?></strong> <?php /******************************************************************* ******** THIS IS THE WISHLIST CODE FOR PRODUCT ATTRIBUTES ********* *******************************************************************/ $attributes_addon_price = 0; // Now get and populate product attributes $wishlist_products_attributes_query = tep_db_query("select products_options_id as po, products_options_value_id as pov from " . TABLE_WISHLIST_ATTRIBUTES . " where customers_id='" . (int)$public_id . "' and products_id = '" . tep_db_input($wishlist['products_id']) . "'"); while ($wishlist_products_attributes = tep_db_fetch_array($wishlist_products_attributes_query)) { // We now populate $id[] hidden form field with product attributes echo tep_draw_hidden_field('id['.$wishlist['products_id'].']['.$wishlist_products_attributes['po'].']', $wishlist_products_attributes['pov']); // And Output the appropriate attribute name $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.products_id = '" . (int)$wishlist_id . "' and pa.options_id = '" . (int)$wishlist_products_attributes['po'] . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . (int)$wishlist_products_attributes['pov'] . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . (int)$languages_id . "' and poval.language_id = '" . (int)$languages_id . "'"); $attributes_values = tep_db_fetch_array($attributes); if ($attributes_values['price_prefix'] == '+') { $attributes_addon_price += $attributes_values['options_values_price']; } else if ($attributes_values['price_prefix'] == '-') { $attributes_addon_price -= $attributes_values['options_values_price']; } echo '<br /><small><em> ' . $attributes_values['products_options_name'] . ': ' . $attributes_values['products_options_values_name'] . '</em></small>'; } // end while attributes for product if (tep_not_null($products['specials_new_products_price'])) { $products_price = '<del>' . $currencies->display_price($products['products_price']+$attributes_addon_price, tep_get_tax_rate($products['products_tax_class_id'])) . '</del> <span class="productSpecialPrice">' . $currencies->display_price($products['specials_new_products_price']+$attributes_addon_price, tep_get_tax_rate($products['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($products['products_price']+$attributes_addon_price, tep_get_tax_rate($products['products_tax_class_id'])); } /******************************************************************* ******* CHECK TO SEE IF PRODUCT HAS BEEN ADDED TO THEIR CART ******* *******************************************************************/ if($cart->in_cart($wishlist['products_id'])) { echo '<br /><strong style="color: red">Item in Cart</strong>'; } /******************************************************************* ********** CHECK TO SEE IF PRODUCT IS NO LONGER AVAILABLE ********** *******************************************************************/ if($products['products_status'] == 0) { echo '<br /><strong style="color: red">' . TEXT_ITEM_NOT_AVAILABLE . '</strong>'; } $i++; ?> </td> <td valign="top" class="productListing-data"><?php echo $products_price; ?></td> <td valign="top" class="productListing-data" align="center"><?php if ($products['products_status'] != 0) echo tep_draw_checkbox_field('add_wishprod[]',$wishlist['products_id']); ?></td> </tr> <?php } ?> </table> </td> </tr> <tr> <td align="right"><br /> <?php echo tep_draw_button(BUTTON_TEXT_ADD_CART, 'cart', null, 'primary'); ?></td> </tr> <tr> <td><?php if ($wishlist_split->number_of_rows > 0 && (PREV_NEXT_BAR_LOCATION == '2' || PREV_NEXT_BAR_LOCATION == '3')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $wishlist_split->display_count(TEXT_DISPLAY_NUMBER_OF_WISHLIST); ?></td> <td align="right" class="smallText"><?php echo TEXT_RESULT_PAGE . ' ' . $wishlist_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> </form> <?php } ?></td> </tr> </table> <?php } else { // Nothing in the customers wishlist ?> <div class="contentContainer"> <div class="contentText"> <?php echo BOX_TEXT_NO_ITEMS; ?> </div> <div class="buttonSet"> <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT)); ?></span> </div> </div> <?php } ?> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Many Thanks
-
Following my previous thread on database problem I have now installed this Mod: http://addons.oscommerce.com/info/8665 and everything works as it should on the customer and admin side, with one exception: When a customer attempts to email their wishlist to a friend using the wishlist email function, he is presented with a blank screen, and no email is sent. The error log entry is: with Line 204 of wishlist.php being: tep_mail($friend[$j], $email[$j], $subject, $friend[$j] . ",\n\n" . $body, $from_name, $from_email); Any pointers where to look to solve this please?
-
I have downloaded ckeditor plus image upload. At this point I am attempting to just get the ckeditor installed and functioning and have not yet tried to setup the image upload. I have followed the instructions. I went to the website listed and downloaded the latest version of the full ckeditor (4.4.3 full). I have uploaded the ckeditor file into my stores admin/ext folder. However, when setting up the store it recommended changing the name of the admin folder - which I did do. Will that mess anything up? I have followed the instructions for adding the code into template_top and changing the code in html_output. I do have the ability (at least visually) to turn the editor on or off in the configuration>My store area However; I do not see any difference when clicking to "add product". I have tried refreshing the page. I have tried turning the editor off and then back on again. I have tried removing the files from the server and re-uploading them. I am at a loss. What is the trick to getting the editor to work on osCommerce 2.3.4? Do I have to use an older version of osCommerce? Is there another module offering something very similar to ckeditor that does work on 2.3.4 ? This looks like it should be a very simple, straight forward install -yet for the life of me I see no difference in the text fields on product creation whether I have it turned on or off :blush:
-
Paypal Express + MZMT Shipping + Defined Shipping Zones - Urgent
Mort-lemur posted a topic in PayPal
Hi, On my 2.3.4 stores I have "allow orders not matching defined shipping zones" set to false, and I use MZMT shipping - and all works well with my default zone (mainland uk). However, I have had customers contact me from N. Ireland and the scottish highlands who have been told that paypal express will not allow them to checkout and tells them that we do not deliver to those areas. I am trying now with "allow orders not matching defined shipping zones" set to true to see if that makes any difference - but am nervous that it will not add shipping to the order........