Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

smiler99

Pioneers
  • Posts

    59
  • Joined

  • Last visited

Everything posted by smiler99

  1. If using order editor and you find that the 'NEW ORDER EMAIL' does not show the DEAR NAME, Add the following just above if (EMAIL_USE_HTML == 'true') { (around line 831 in admin/edit_orders_ajax.php) $check_status_query = tep_db_query(" SELECT customers_name, customers_email_address, orders_status, date_purchased FROM " . TABLE_ORDERS . " WHERE orders_id = '" . (int)$oID . "'"); $check_status = tep_db_fetch_array($check_status_query);
  2. For those still trying to get this contribution to work with edit order contribution, i have managed to succesfully integrate this, however it took a lot of soul searching and i lost track of exactly what i did, i will try to create a full instruction soon but whilst things are fresh in my mind here are some of the things i did, if someone could follow this and create a better set of instructions please do so.... **please note edit orders uses different files for AJAX and NON AJAX versions) 1. i searched my entire store for all instances of tep_mail (wherever you find tep mail is where an email will be sent) 2. wherever you find tep mail in a document, scroll upward and find where the first instance of $email= or $email_order= occurs (the start will be the $email= or the $email_order= that does not have a . (dot) emmediatly after it and is usually $email = STORE_NAME) an example that is NOT the start of this variable is $email_order .= EMAIL_TEXT_PRODUCTS (has a dot after $email_order) 3. once you have located the start of the $email.... variable you need to add the IF/else statement directly above it. ***** i found this part hard to explain but ill try ****** The if/else code may need changing depending on where the file that your are changing is located, if the file your are changing is located in the admin folder then you need to add DIR_FS_CATALOG . (shown red as below, this tells the include to find your layouts in CATALOG/includes/modules/UHtmlEmails/templatefolder and not in ADMIN/includes/modules....... which does not exist and will give a 'unable to open stream' error) the XXXXXXXX you will need to change to the name of the Template file you have created (i simply copied orders.php that is already in your template folder and rename it to edit_orders.php which i use for both normal and ajax files.) ** I suspect that having DIR_FS_catalog at the start wont be a problem whether file is in the admin folder or not ******** //--- Beginning of addition: Ultimate HTML Emails ---// if (EMAIL_USE_HTML == 'true') { require(DIR_FS_CATALOG . DIR_WS_MODULES . 'UHtmlEmails/'. ULTIMATE_HTML_EMAIL_LAYOUT .'/edit_orders.php'); $email_order = $html_email; }else{//Send text email //--- End of addition: Ultimate HTML Emails ---// 4. i then copied orders.php in catalog/includes/languages/english/modules/UHtmlEmails/Standard folder and rename it edit_orders.php Not sure if i missed any steps, but this worked for me. PS. You also need to add a closing } at the end of the email code, the instructions dont tell you to do that, i add the closing } just before the first instance of tep_mail i hope someone can make sense of the above and create a good set of instructions - i tried my best, the instructions above if you can folow them will help you change ALL areas of OSC that use emails and allow you to set them all to HTML regards S/\/\iler
  3. Tibolam, i just had a look and your menu sits on top of your product box ( then box in the middle that is rotating products, which is what i presume you meant by your flash box) im am viewing using IE7
  4. Hopefully someone can help with this problem (if it is a problem and not just they way things are). 1. I add an Item to my Cart 2. in my cart i select the 'Paypal express checkout' Button 3. i am sent to Paypal Sandbox 4. i login to paypal with my test buyer account 5. i select continue 8 i am returned to the Delivery information screen (shipping.php) If the paypal email address i used is on file (i am a current customer), the shipping address in paypal is NOT returned, i have the correct option set in paypal - Express Checkout: Address Override PayPal If the paypal email adress i used is NOT on file (New customer), the shipping address IS returned from paypal and an acount is created Why is the ovveride setting not working? - or am i misinterprting how this should work. Why is there No billing address (stays blank in both situations above) other info to aide any diagnostic I have shared SSL, which is working ok (redirects ok to Shared site for SSl required pages) (except admin which wont direct to ssl pages, even though admin set ok, but im not overly worried about that) one further query, whilst i have your expert attention. if i switch on IPN at Paypal (i know i dont need it as the request to paypal carries the return adress for WPP), will this send a packet to my store anyway for other transactions that may come through Ebay ?, will my website capture nd record ebay payment? - this is probably a dumb question! but thought i would ask. hope i havnt put everyone to sleep.... regards Smiler
  5. Olaf, Not sure if you mis interpreted my replies, i installed the contrib perfectly, nothing got missed, however the instructions leave problems that needs to be fixed as explained above. the slideshow does not work on all pages unless you install the fix and re-assign the $ to another variable, once done this work perfect, i believe those adjustments should be added back into the contrib and a revised edition uploaded (if you agree and validate what i have said, i dont have time at this point to do that but may do in the future).
  6. ** We all live and learn ** - Please not i am by no means an expert, i knew nothing about PHP or OSC before i installed OSC in August 08. Please note you will not have this problem if you simply follow the instructions in the contrib, however if you do just follow the instructions in this contrib your slideshow will not work on every page that you have it on. - the 2 script lines need to be added to page that will be included on ALL your pages containing the slideshow, as mentioned earlier and below, i have mine in my STS template page I have Found further issues with a conflict of Javascript prototype clashes with Jquery, JQuery is widely referenced as $ this contrib therefore clashes with other contribs containing javascript and needs to be re-referenced to remove this conflict, ( i believe it is the Prototype.js that is causing issue) at the bottom of each of the 3 files you modified or copied over Specials.php Whats_new.php Best_sellers.php you will find the following code similar to the following (may differ slightly due to how you have configured your slideshows) <script type="text/javascript"> $(function(){ $('#BSContainer').cycle({ fx: 'fade', pause: 1, delay: 2000 }); }); </script> what you are looking for is to change the $(function(){ and the $('#BSContainer) changed both $ to $J, do this for all 3 PHP files it should now look like this <script type="text/javascript"> $J(function(){ $J('#BSContainer').cycle({ fx: 'fade', pause: 1, delay: 2000 }); }); </script> NOW Part 2, wherever you have added your Script lines (i have mine in my head section of my STS template) Immediatly below them add the folowing highlighted in RED <script type="text/javascript" src="/catalog/js/jquery-1.2.6.js"></script> <script type="text/javascript" src="/catalog/js/jquery.cycle.all.pack.js"></script> <script> var $j = jQuery.noConflict(); </script> Appears to work perfectly!! - fireplace2u.co.uk Smiler
  7. ammendment to the above, most other pages dont get the script headers, to fix this i have added the 2 scripts lines to my sts template page just below $headcontent $headcontent <script type="text/javascript" src="js/jquery-1.2.6.js"></script> <script type="text/javascript" src="js/jquery.cycle.all.pack.js"></script>
  8. Good Contrib, installed easy, i have 10+ major contrib installed already and luckily none had used the 3 main files that need to be edited / replaced, however i think i have noticed 1 typo which doesnt seem to cause an issue but thought i would flag it anyway. \catalog\includes\boxes\best_sellers.php in the original has a $, in replacement does not, as shown below if (isset($current_category_id) && ([color="#FF0000"][b]$[/b][/color]current_category_id >0)){ Also when you go into product info page, the Javascript sources do not get loaded, and the slideshow does not work, unsure if i missed something or have a modofies index.php which causes the issue but i fixed it by adding the javascript sources into catalog\product_info.php //--></script> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="js/lightbox.js"></script> <script type="text/javascript" src="js/builder.js"></script> [color="#FF0000"]<script type="text/javascript" src="js/jquery-1.2.6.js"></script> <script type="text/javascript" src="js/jquery.cycle.all.pack.js"></script>[/color] ** please note may not have all these scripts installed but the above indicates roughly where you should place the new lines) see this contrib in action here - fireplace2u.co.uk (still work in progress)
  9. i have searched and read through every page i can find relating to Dynamenu with no success. i have 1 problem, i am using Dynamenu with a vertical dropdown menu, when at index.php the menu shows but has no expand icons, and does not expand when i hover over the master categories, however if i go into any of the master gategories the expand icon appears and if i hover the sub categories show. the obvious answer may be $show_full_tree = true; but as you can see it is set true here is the code created by dmfooter, as you can see does not contain much. </html><!-- beginning of menu footer - PHP Layers Menu 3.2.0-rc © 2001-2004 Marco Pratesi - [url="https://www.marcopratesi.it/"]https://www.marcopratesi.it/[/url] --> <script language="JavaScript" type="text/javascript"> <!--loaded = 1;// --> </script> <!-- end of menu footer - PHP Layers Menu 3.2.0-rc © 2001-2004 Marco Pratesi - [url="https://www.marcopratesi.it/"]https://www.marcopratesi.it/[/url] --> Why does this not work on the first level categories ? my site - Fireplace2u.co.uk Many thanks
  10. i have seareched and read through every page i can find relating to Dynamenu with no success. i have 1 problem, i am using Dynamenu with a vertical dropdown menu, when at index.php the menu shows but has no expand icons, and does not expand when i hover over the master categories, however if i go into any of the master gategories the expand icon appears and if i hover the sub categories show. the obvious answer may be $show_full_tree = true; but as you can see it is set true here is the code created by dmfooter, as you can see does not contain much. </html><!-- beginning of menu footer - PHP Layers Menu 3.2.0-rc © 2001-2004 Marco Pratesi - [url="https://www.marcopratesi.it/"]https://www.marcopratesi.it/[/url] --> <script language="JavaScript" type="text/javascript"> <!-- loaded = 1; // --> </script> <!-- end of menu footer - PHP Layers Menu 3.2.0-rc © 2001-2004 Marco Pratesi - [url="https://www.marcopratesi.it/"]https://www.marcopratesi.it/[/url] --> Why does this not work on the first level categories ? my site - fireplace2u.co.uk Many thanks
×
×
  • Create New...