Jump to content

dailce

Members
  • Content count

    511
  • Joined

  • Last visited

Everything posted by dailce

  1. InternetSecure MerchantLink This allows you to use InternetSecure's Merchantlink. 1. When customer buys from your site they can select InternetSecure as payment method. 2. They are directed to InternetSecure where they can safely enter credit card details, and pay for the order. 3. Then they are brought back to your site's success page. Features: 1. Order will be recorded in database before buyer leaves your site. This helps in case buyer doesn't to return to your site, in which case you can see what they attempted to order. If you did get payment this also let's you update the order status manually on your site. 2. Set order status before order is processed. 3. Set order status after order is processed, and then notifies customer by email. 4. Adds taxes and shipping to order, buyer can see this information at InternetSecure 3. Adds order number to tax line so you know what order# to look for when looking at the InternetSecure reciept 2 and 3 above, basically, when buyer creates the order you can set the order status to say "Pending", after they pay and are brought back to the success page the order will update to "Processing". You can customize order status in the options. Install: All new files Back-up Uninstall older versions In catalog/includes/payment/internetsecure_ml.php change line 459 (add you site name and path to checkout_process.php). That' it If you have ways to improve this please help and post your contribtions.
  2. dailce

    Header Tags SEO

    Hi, having a strange problem on the admin side. THIS IS OK: On the admin side if I add a new category and leave the headertags fields blank, then the category will be created and when I check the database the tags are filled with the categories_name (categories_htc_description is blank in the database). Now if I press edit category, the fields will show as blanks, but they are in the database. If I update the category name it updates fine, but if I enter anything in the header tag fields they don't update. I checked with firebug and the values are being posted.
  3. dailce

    [Contribution] Option Types v2

    I decided to use the latest attributes manager, I found the issue was in attributeManager.class.php. I included the original attributeManager.class.php file from OptionTypes in the latest version of the attributes manager folder, and it seems to be working well.
  4. dailce

    [Contribution] Option Types v2

    Well attributes manager seems to be working ok, however, it's not pulling the optiontype value: CUSTOMER-INPUT. Nor is there an option to choose/set length value for text or the option type. Seems like it's not using the option type settings, but rather just functioning as normal. One thing I notice is that if I have a say: Option Name = "mycustomtext" Option Value = "CUSTOMER-INPUT" etc... set in products_attributes.php I can add this to a product from products_attributes.php just fine. However, if I go edit a product, the attributemanger will show "mycustomtext" as a new option, attributemanger won't let me add it because there is no value being pulled for this option - it's blank. Seems that may be the problem. I don't see any code in the included attributemanger that refers to text, may just be it was just included but not modified for optiontypes specifically, maybe I'm wrong?
  5. dailce

    [Contribution] Option Types v2

    Does anyone have the full install instructions for attributes manager? I had the latest attributes manager installed prior to installing option types. I didn't the option types attribute manger folder, I just want to know what changes need to be made. Thanks.
  6. dailce

    [Contribution] Option Types v2

    Finwood, CUSTOMER-INPUT: look for a block of code that looks similar to this and see what you are missing. I had a similar problem. See if you are missing: if ($value == OPTIONS_VALUE_TEXT_ID) { echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . TEXT_PREFIX . $option . ']', $products[$i]['attributes_values'][$option]); $attr_value = $products[$i]['attributes_values'][$option]; } else { echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value); $attr_value = $attributes_values['products_options_values_name']; } the full block of code should be something like this: for ($i=0, $n=sizeof($products); $i<$n; $i++) { // Push all attributes information in an array if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) { while (list($option, $value) = each($products[$i]['attributes'])) { echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value); $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)$products[$i]['id'] . "' and pa.options_id = '" . (int)$option . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . (int)$value . "' 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 ($value == OPTIONS_VALUE_TEXT_ID) { echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . TEXT_PREFIX . $option . ']', $products[$i]['attributes_values'][$option]); $attr_value = $products[$i]['attributes_values'][$option]; } else { echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value); $attr_value = $attributes_values['products_options_values_name']; } $products[$i][$option]['products_options_name'] = $attributes_values['products_options_name']; $products[$i][$option]['options_values_id'] = $value; $products[$i][$option]['products_options_values_name'] = $attr_value ; $products[$i][$option]['options_values_price'] = $attributes_values['options_values_price']; $products[$i][$option]['price_prefix'] = $attributes_values['price_prefix']; } } }
  7. dailce

    [Contribution] Option Types v2

    Anyone know how to force only one product per attribute for the text field? Basically if I type something in the text field and add to cart, work as normal - product 1 - quantity 1 - textfield - AAAAA. Now if the buyer goes back and enters something new in the text field - say BBBB - then update the qty to 2 and update the text field. Basically don't allow the cart to add 2 of the same product with 2 different text fields - so we have - product 1 - quantity 2 - textfield - BBBB.
  8. dailce

    [Contribution] Option Types v2

    I followed the install instructions for 2.3.1, everything worked except text fields, text areas, and checkboxes. I then applied these changes below and it seems to be working well. Gonna do more tests, but seems good. Thanks.
  9. dailce

    Option Types V2 problem adding to cart

    I just installed it and seem to be having the same issue.
  10. dailce

    Mail Manager

    Installed successfully on 2.3.1 with very little modifications. What's the best way to remove Tell a Friend?
  11. dailce

    Mail Manager

    Can this be used with 2.3.1 ?
  12. I have a slightly modifed shopping cart, and wonder if this is ok to sort 4 fileds, first by Parent Category name, then Subcategory name, then Product name, and product attributes. A little hard to get my head around array_multisort. What should array_map be applied to? Why isn't it applied to attributes in your original code? foreach ($products as $key => $row) { $parcater[$key] = $row['parentcatname']; $subcater[$key] = $row['subcatname']; $attributes[$key] = $row['attributes']; $name[$key] = $row['name']; } array_multisort(array_map('strtolower',$parcater), $subcater, array_map('strtolower',$name), $attributes, SORT_ASC, $products, SORT_ASC);
  13. dailce

    Header Tags SEO

    Jack you are awesome! that worked. I don't have STS or BTS, but rather a custom template. THANKS!
  14. dailce

    Header Tags SEO

    More details: Catlog side shows replace me in page control for the title so I know it's installed right. OSC 2.3.1. template_top.php has: <?php /*** Begin Header Tags SEO ***/ if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> <title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title> <?php } /*** End Header Tags SEO ***/ ?> In the admin section, header_tags_seo.php, where it says "Select an Option:" no matter which option I choose it doesn't load anything below. I think it has to do with $newfiles[$x]['text'] $pageTags_query = tep_db_query("select page_title, page_description, page_keywords, page_logo, page_logo_1 as alt_1, append_category as opt_0, append_manufacturer as opt_1, append_model as opt_2, append_product as opt_3, append_root as opt_4, append_default_title as opt_5, append_default_description as opt_6, append_default_keywords as opt_7, append_default_logo as opt_8, sortorder_category as opt_9, sortorder_manufacturer as opt_10, sortorder_model as opt_11, sortorder_product as opt_12, sortorder_root as opt_13, sortorder_title as opt_14, sortorder_description as opt_15, sortorder_keywords as opt_16, sortorder_logo as opt_17 from " . TABLE_HEADERTAGS . " where page_name like '" . $newfiles[$x]['text'] . "' and language_id = '" . (int)$languages[$i]['id'] . "' LIMIT 1"); If I add say "echo $newfiles[0]['text']" prior to this call it prints the options. echo $newfiles[0]['text']; //prints Select A File echo $newfiles[1]['text']; //prints Show All Files echo $newfiles[2]['text']; //prints Add Missing Pages Also, when I run a test it says: Missing Code in File explain The Header Tags head code for the index.php file cannot be found. The Header Tags head code for the product_info.php file cannot be found. The Header Tags head code for the product_reviews.php file cannot be found. The Header Tags head code for the product_reviews_info.php file cannot be found. The Header Tags head code for the product_reviews_write.php file cannot be found. The Header Tags head code for the specials.php file cannot be found. However, the code is definately there
  15. dailce

    Header Tags SEO

    Just installed, working good. However, in ADMIN, when I click "Page Control", there is a dropdown with "select a file", "show all files", etc... but the left side is blank. No matter which option I choose nothing happens. Any ideas?
  16. Share your product pages with social bookmarking. I know there are a bunch of these out there. I looked around, and didn't like the look of most plugins. addthis.com is a good site, but they track user stats/data, if your like me and don't like sending people off to other sites, or having multiple popups, or having to advertise other sites, then this is for you. I think it has the same look and feel to addthis.com, but it is different. Basically, a user clicks the share button and a nice menu will fade in (using mootools), they can then select which social site they want to share the page with, OR they can even email a link of the page to a friend. Great way to share and get yourself noticed. OSC_Socializer_v1.0
  17. Jquery vs Mootools for OSCv3 From what I've read OSCv3 will use jQuery. I like jQuery but I'm a bigger fan of mootools, will users have the option to easily change the javascript library, or is OSCv3 heavily dependent on jQuery?
  18. Grab_Order_Details A customer can enter their email and order number on your site and view the order details without logging in. I think this will work well if you have PWA or No Account installed. Enjoy :) Hope I didn't make any errors in this guide. Feel free to improve this if you can - thanks. ================================ I will try my best to help out with this contribution, but I hope the community can help out more. I'm no expert in php, well at least I don't think I am :blush:
  19. Contribution Support for Secure Admin Login - Logout: http://www.oscommerce.com/community/contributions,4121
  20. Installed and seems to be working great. Problem is if I enter say 10% off shipping at the checkout_confirmation.php shipping is shown to be $9.00 and discount shows -$0.90 however, the $0.90 is not taken off from the total?
  21. dailce

    InternetSecure MerchantLink

    Not sure but /_cart/postapproval.mhtml is not part of this contribution. Maybe it's a part of InternetSecure's?? If you check the code of this contribution mhtml is not used anywhere! Are you sure your InternetSecure settings are set up correctly? Check your InternetSecure Export Script options at Internetsecure.com. These are the only settings I have in the export scripts: Domain Name: should be the domain of your catalog directory ie. http://www.mysite.com OR http://www.mysite.com/catalog Web Page: /internetsecure_ml.php HTTP Authentication Details (if applicable) Set up a Password and user name here if using http auth. Approvals Only: should be checked. and finally set your alert email
  22. I know you all have been working really hard on v3, but it seems to be taking forever. I am still using v2 and I think it's time for an update. How long you think until v3 is ready for a production release?
  23. This worked like a charm for me. Seems to be running great now! Thanks :)
  24. dailce

    InternetSecure MerchantLink

    I'll look into it, but can't promise you anything - sorry :( I do want to add more features and hop I can soon - just need time. If there are any more experts that can help, then that would be great.
  25. dailce

    InternetSecure MerchantLink

    Contact InternetSecure.com directly to setup an account. There is a set up fee, I think we paid $100 and there is also a monthly fee. Transactions have a small fee and merchant discount rate (percentage the credit card companies charge).
×