Jump to content

homewetbar

Members
  • Content count

    680
  • Joined

  • Last visited

Everything posted by homewetbar

  1. Hi FWR Media, I've installed the newsest version of this contribution and it works beautifully redirecting active products to the new seo urls and categories as well. However the 404 for inactive products is not working. For example if I type in a product that does not exist like so test-product-p-55555.html and the product is inactive or does not exist I get redirected to: product_info.php?products_id=5555 Shouldn't this send me to a 404 page as the product does not exist? How can I fix this in your code? I'm using one of the last Chemo versions of SEO URLs, i think version 2.1c if that helps...
  2. homewetbar

    Article Manager v1.0

    Has anyone else noticed when you add a product to the cross-sell in the articles manager then try to add another product from a different catagory the products are duplicated in the articles cross-sell admin?
  3. homewetbar

    FCKEditor Not appearing in ADMIN

    I had this error, it was because I forgot to uplaod the changes in the install to my admin/includes/functions/html_output.php so check and make sure you made the changes in the install and uploaded that file.
  4. homewetbar

    Article Manager v1.0

    Found it! The problem is caused by whomever originally coded the script used <? instead of <?php in line 141 in admin/articles_xsell.php You must be using an older version that is compatible with the improper <? tag and my newest version of PHP 5 is not which is why you cannot see it on your end Jack. To fix simply change <? on line 141 to <?php
  5. homewetbar

    Article Manager v1.0

    I'm having the same problem, it is not with something they did "messing" up the code, it is a problem with the admin xsell page included in the latest install. Can anyone suggest a fix?
  6. homewetbar

    Customer Testimonials v1.0

    This is a great contribution, however I do have some concern over the security of allowing visitors to upload files. Could they not just upload anything and then access it by pointing their browser to uploads directory? Think a malicious script or an image that wasn't really an image but a virus? Maybe I'd just being paranoid but I'd really like to hear you all's thoughts on this?
  7. jamesmartin You just need to add something to the end of the query that will sort by the attribute id #, I'm not looking at the code currently but it should be fairly simple. One thing though you cannot reorder the order in which text radio etc display unless you swap there order in the code. If I remember correctly each type of attribute (text, radio, textbox, etc.) has a seperate query so you can order the options in each type but not the entire list of options if that makes sense?
  8. One other thing I have noticed when cloning product attirbutes the newest version randomly selects the order of the attributes to copy, not good if you want your attributes in a specific order like you had on the other product for displaying on the catalog side. To fix simply add in the product_attributes.php an order by statement like so: o rder by products_attributes_id here is the fixed line (near very top of changes): $attributes = tep_db_query("select products_id, options_id, options_values_id, options_values_price, price_prefix, attribute_sort from " . TABLE_PRODUCTS_ATTRIBUTES ." where products_id='".$clone_product_id_from."' order by products_attributes_id");
  9. Did you make sure that page was working prior to installing this contrib? If so, you messed up something on the checkout_process.php page, go back through the code...
  10. Ok I've tested both the single product copy and the multiple product copy and they both appear to be working beautifully! Nice easy to follow install directions too! Thank you for the great contribution! A few suggestions: 1) The difference between the single and multi copy is unclear, I actually thought single copy would just copy one attribute until I tried it. Maybe a better description of the two would be single product copy or multiple product copy. 2) There needs to be some sort of logic to prevent you from accidently putting the same product in the both the copy to and from fields (which ends up deleting the product) To fix this simply add: // BOE: Attribute Sort with Clone Tool case 'clone_attributes': $clone_product_id_from = $HTTP_POST_VARS['clone_products_id_from']; $clone_product_id_to = $HTTP_POST_VARS['clone_products_id_to']; if ($clone_product_id_from != $clone_product_id_to) { tep_db_query("delete from ".TABLE_PRODUCTS_ATTRIBUTES." WHERE products_id='".$clone_product_id_to."'"); $attributes = tep_db_query("select products_id, options_id, options_values_id, options_values_price, price_prefix, attribute_sort from " . TABLE_PRODUCTS_ATTRIBUTES ." where products_id='".$clone_product_id_from."'"); while($attributes_values = tep_db_fetch_array($attributes)) { tep_db_query("INSERT INTO " . TABLE_PRODUCTS_ATTRIBUTES . " ( products_id, options_id, options_values_id, options_values_price, price_prefix, attribute_sort) VALUES (".$clone_product_id_to.", ".$attributes_values['options_id'].", ".$attributes_values['options_values_id'].", ".$attributes_values['options_values_price'].", '".$attributes_values['price_prefix']."' , ".$attributes_values['attribute_sort'].")"); } } tep_redirect(tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, $page_info)); break; // EOE: Attribute Sort with Clone Tool // Delete products addon 3/9/2009 case 'delete_product_attributes': $delete_attributes_products_id = $HTTP_POST_VARS['delete_attributes_products_id']; tep_db_query("delete from ".TABLE_PRODUCTS_ATTRIBUTES." WHERE products_id='".$delete_attributes_products_id."'"); tep_redirect(tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, $page_info)); break; At the end of code after: <tr> <td colspan="8"><?php echo tep_black_line(); ?></td> </tr> </table></form></td> </tr> Insert instead of clone tool original code: <!-- BOE: Attribute Sort with Clone Tool //--> <tr><td> <?php echo '<form name="clone" action="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=clone_attributes', 'NONSSL') . '" method="post">'; ?> <Table bgcolor="dfefde"> <!-- Data Start --> <tr bgcolor="dfefde"><td class="pageHeading">Clone Product Attributes</td></tr> <tr bgcolor="dfefde"> <td class="main" valign="top"><b>From:</b> <select name="clone_products_id_from"> <?php $products = tep_db_query("select p.products_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' order by pd.products_name"); while ($products_values = tep_db_fetch_array($products)) { echo '<option name="' . $products_values['products_name'] . '" value="' . $products_values['products_id'] . '">' . $products_values['products_name'] . ' [#' . $products_values['products_id'] . ']</option>'; } ?> </select></td> <td class="main" valign="top"><b>To:</b> <select name="clone_products_id_to"> <?php $products = tep_db_query("select p.products_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' order by pd.products_name"); while ($products_values = tep_db_fetch_array($products)) { echo '<option name="' . $products_values['products_name'] . '" value="' . $products_values['products_id'] . '">' . $products_values['products_name'] . ' [#' . $products_values['products_id'] . ']</option>'; } ?> </select> </td><td><?php echo tep_image_submit('button_copy_to.gif', 'Copy To'); ?> (Click once to copy)</form></td></tr> <tr><td> </td></tr> </table> </td></tr> <tr><td> <?php echo '<form name="delete_attributes" action="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=delete_product_attributes', 'NONSSL') . '" method="post">'; ?> <tr><td> <br><br> </td></tr> <!-- Delete products addon 3/9/2009 //--> <Table bgcolor="f0d0d0"> <!-- Data Start --> <tr bgcolor="f0d0d0"><td class="pageHeading">Delete all attributes for Product</td></tr> <tr bgcolor="f0d0d0"> <td class="main" valign="top"><b>From:</b> <select name="delete_attributes_products_id"> <?php $products = tep_db_query("select p.products_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' order by pd.products_name"); while ($products_values = tep_db_fetch_array($products)) { echo '<option name="' . $products_values['products_name'] . '" value="' . $products_values['products_id'] . '">' . $products_values['products_name'] . ' [#' . $products_values['products_id'] . ']</option>'; } ?> </select> </td><td><?php echo tep_image_submit('button_delete.gif', 'Delete'); ?> (Click to delete)</form></td></tr> <tr><td> </td></tr> </table> </td></tr> <!-- EOE: Attribute Sort with Clone Tool //-->
  11. Just looking over the code you're missing , ".$attributes_values['attribute_sort']." at the end of the insert statement of the multicopy Also looking over the multi product copy it appears the logic may be flawed, from the variable names ($multi_clone_products_id_to) it looks like you're store multiple product ids! Really you should be storing one product id and copying to one product id. You should have some sort of while loop that runs sees how many product options values the product attribute has and the while loops inserts duplicates of the product option values into the new product id, multiple product ids should not be involved at all. I don't really know how to implement this, but I'm pretty sure that's how it would be done??
  12. Thanks for the prompt reply. Two last questions. We're currently using a combo of big/small images and an older more pics 6. For instance each image has a small image (category) medium image (product page) and large image 1 2 3 4 5 7 (more pics 6 popup product page). 1) Can we set this new version 2.x to show medium images on the product pages (with thumbnails below) and the large images in a popup? 2) Could this contrib be integrated somehow with an ajax loader for the other images so it loads them on demand instead of with the rest of the page for faster page loading times? Here is an example of a script I was thinking about trying to use: http://www.dhtmlgoodies.com/scripts/ajax-d...ic-content.html
  13. I'm thinking about upgrading to the newest version of more pics v2.x but I have a question about the thumbnailed images, are they just the large images shown smaller or does the contribution actually make new thumbnail images of your large images and only load the large image when you hover over the thumbnail on the product page? This is important because if you have multiple large images it may take awhile for some browsers to load the page unless it is being loaded after the fact with some sort of ajax. Can anyone tell me if this just resizes the large images for thumbnails on the products page or if it actually creates thumbnails? Also does anyone know does the Extra Images contrib http://addons.oscommerce.com/info/1289 do this with thumbnails or just resizing?
  14. homewetbar

    RMA Returns error for 2.2 MS2

    You have a modified oscommerce install it looks like so you will have to adapt the code to your site...
  15. I was looking into this myself but I don't know if they are compatible as managing attributes right now is a huge pain. Has anyone been able to successfully use these two contributions together?
  16. homewetbar

    RMA Returns error for 2.2 MS2

    Quick fix for the bug when you create a ticket in admin the prefered return method is not stored. Here is a quick fix hopefully someone can include in the next release admin/return_product.php FIND: $returns_payment_sql = array('returns_id' => $ticket_id, 'refund_payment_name' => $refund_method, 'refund_payment_value' => $final_price, ADD AFTER: 'customer_method' => $refund_method, That's it, and now your customer's prefered return method should be stored. Enjoy!
  17. homewetbar

    Offical Google Checkout module for osCommerce Support Thread

    Been working on this for hours, canada does not calculate properly on our google checkout and has been giving free shipping to Canada (and to APOs and FPOs also) which is quite frustrating to say the least! I finally figured out how to disable canada shipments, in googlecheckout/gcheckout.php ADD: $Gfilter->AddExcludedPostalArea('CA'); AFTER: if(MODULE_PAYMENT_GOOGLECHECKOUT_USPOBOX == 'False') { $Gfilter->SetAllowUsPoBox('false'); } Hope this helps someone, enjoy! :lol:
  18. homewetbar

    osC_Categories MS2-2.2

    I created this topic to discuss the osC_Categories MS2-2.2 contribution as there is no current support thread. I installed the two newest osC_Categories MS2-2.2 contributions and I seem to be encountering two problems. 1) The first category in each sub category will not show on the menu 2) When you view Whos Online in admin all you get is javascript instead of the urls and page names. Has anyone encountered these errors with this contribution, and can anyone suggest a solution? Thank you in advance!
  19. homewetbar

    [CONTRIBUTION] CCGV (trad)

    FYI if anyone encounters this error (present in .19 and .20 version) "supplied argument is not a valid MySQL result resource in ....../includes/functions/database.php on line 107" in admin/coupon_admin.php move (about line 229): $cc_query = tep_db_query($cc_query_raw); To BELOW (around line 227) $cc_query_raw = "select * from " . TABLE_COUPON_REDEEM_TRACK . " where coupon_id = '" . (int)$coupon_id . "'"; Please do not PM me about this. This is an as is fix I came up with and I am not providing support for it. However I hope this little fix helps someone! ;)
  20. I noticed this too, fixed it and posted the fix on the contribution page.
  21. homewetbar

    Product Sales and Stats v2.0 Contribution

    No problem, it's exactly what your error message is saying you probably just have an extra ) somewhere, just make sure all of the ( match a ) in your code on that boxes\reports.php page...
  22. homewetbar

    RMA Returns error for 2.2 MS2

    You don't. The system only handles 1 rma. I would be nice if someone could add a feature to reopen a ticket...
  23. homewetbar

    Product Sales and Stats v2.0 Contribution

    Change products_trans_365 to products_sales_365 . Also I uploaded a new version with this fix.
  24. homewetbar

    Offical Google Checkout module for osCommerce Support Thread

    We're experiencing a strange bug on Alaska and Hawaii shipments with google checkout. The ground shows perfectly but the 2 day and 1 day air options are showing as only $3 and $1 cost! Any ideas on how to fix this or disable google checkout for Alaska and Hawaii shipments?
  25. homewetbar

    RMA Returns error for 2.2 MS2

    No it does not handle exchanges. Although that would be great if you could add it as a feature!
×