Jump to content

marcelotronics

Members
  • Content count

    14
  • Joined

  • Last visited

Profile Information

  • Real Name
    Marcelo
  1. marcelotronics

    Feedmachine

    Lech, Awesome thank you! Yes for some reason the first suggestion of yours did not work -- I think we use some type of contribution or custom hack for the images. The second one works great though -- thank you for fixing up my illogical code! Thanks again!
  2. marcelotronics

    Minimum Advertised Price Module Support

    I've passed the time limit for editing my posts, but I had a PHP programmer help me out.
  3. marcelotronics

    Minimum Advertised Price Module Support

    Anyone have any ideas? Here's a chunk of code to look at it...maybe there's an easy fix? I've noticed that the problem also involves /includes/modules/product_listing.php. The /* */ commented code is what needs to be added according to the instructions. case 'PRODUCT_LIST_PRICE': $lc_align = 'center'; $freeshipquery = tep_db_query("select options_values_id from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id='" . $listing['products_id'] . "' and options_id = '2' order by options_values_id asc"); $freeship = tep_db_fetch_array($freeshipquery); if ($freeship['options_values_id']=='3' || $freeship['options_values_id']=='1381041') $nodisplay=1; else $nodisplay=0; if ($listing['products_weight']=='0.00' && $nodisplay!='1' && $listing['products_price']>'1') { $freeship1 = '<font size=2 color=CC9900><b>Free Shipping</b></font>'; } else $freeship1 = ''; if ($listing['products_price'] >0) { /* if ($listing['products_price'] < $listing['products_map']) { $lc_text = ' -' . MAP_WARNING; }*/ if (tep_not_null($listing['specials_new_products_price'])) { if ($listing['products_quantity']>1) { $lc_text_price = ' <font size=1><b>List Price:</b><br></font><strike><font size=2>' . $currencies->display_price($listing['products_quantity'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</font></strike><br> <font size=1><b>Special Price: </font><br><font color=990000 size=2>' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</font><b> <br>'; } else { $lc_text_price = ' <font size=1><b>Special Price: </font><br><font color=990000 size=2>' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</font><b> <br>'; } Thanks!!
  4. marcelotronics

    Minimum Advertised Price Module Support

    bump for any insight into my problem? the only change I have made to advanced_search_result.php is to add "p.products_map" into $select_str $select_str = "select distinct " . $select_column_list . " m.manufacturers_id, pd.products_briefdesca, pd.products_briefdescb, pd.products_briefdescc, p.products_model, p.products_quantity, p.products_id, pd.products_name, p.products_price, p.products_map, 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 ";
  5. marcelotronics

    Minimum Advertised Price Module Support

    Hi Guys, I've got this contribution 95% working, it was an easy install without any errors. That's really rare! However! There is a weird bug or something that I overlooked...here's what's going on: Background: product_info works perfectly...so I know this is working at least on the product_info page. advanced_search_result.php 1--If I type in the product name that I created to test the MAP (some of the keywords in the name share with other products), several results will come up. The problem is, my only MAP'd product shows up with a totally unrelated price to the MAP or real price...it shows $99.00 for some reason. (MAP price $300, real $250). 2--However, if I type the full name of the MAP'd product and the search results come up with only the one I want...it shows no price at all. I would like it to show the MAP (and with the MAP_WARNING) under it if possible. Does anyone have any ideas as to what's going on here? Thanks for any input!
  6. marcelotronics

    Paypal AND Google checkout together?

    Sorry I don't know which contribution to use, I'm looking also... In terms of using PayPal and GC, why not? I don't see any reason for them to conflict...
  7. marcelotronics

    Offical Google Checkout module for osCommerce Support Thread

    What solution do you suggest? This contribution? http://www.oscommerce.com/community/contributions,4556/
  8. marcelotronics

    Feedmachine

    Sorry for resurrecting the dead...hopefully someone can still help me out! I'm trying to add a URL to image section on my data feed for Share a Sale...but: Our database doesn't use a specific field for product_url, but luckily the product image filenames are the same as the products_model field names in the DB. So, my idea is to use a static directory and then use a variable to match each product's picture with the correct product model. For example: I have product A, model number 123 (DB field product_model). The image is located at /images/ and the filename is the model number (123...or the same as DB field product_model). How do I incorporate this idea into the code. This is what I tried, but it didn't work...it just printed the variable $xb after the URL (feedmachine_config.php) [b]$xb = "products_model";[/b] $feeds[] = array('name' => 'Share A Sale Affiliate Product Feed', 'filename' => 'share-a-sale.txt', 'fields' => array('URL to image' => array('name' => 'http://www.home.com/productimages/[b]$xb[/b]', 'type' => 'VALUE' ), Please let me know if my description of the problem is too confusing to understand
×