Brian_C

Members
  • Content count

    28
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Brian_C

Profile Information

  • Real Name
    Brian Christensen
  • Gender
    Male
  • Location
    WI

Contact Methods

  1. Does anyone know of an addon for 2.2 that hides the price of an item until it is added to the cart? Thanks in advance. Brian
  2. BUMP - Anyone?
  3. How do I access $cart->show_total() from ups.php? I am trying to remove Ground when the cart is over $x.xx. Thanks!
  4. Disregard the first part of my post, forgot to upload one file......doh!
  5. Thanks for the contrib! I installed, configured a coupon code, and when I input the coupon code on checkout_payment.php I get this error. "Warning: Invalid argument supplied for foreach() in /../includes/classes/discount_coupon.php on line 62" Anybody know why? I couldn't find anything on it in the thread. Also, my fix to this common problem Fatal error: Cannot redeclare class discount_coupon in ***path to shop***/includes/classes/discount_coupon.php on line 14. was to change this line in includes/classes/discount_coupon.php from require_once( DIR_FS_CATALOG.DIR_WS_CLASSES.'discount_coupon.php' ); to require_once( DIR_FS_CATALOG . '/' . DIR_WS_CLASSES.'discount_coupon.php' );
  6. Dang forum, keeps changing my html entities in the post. The < above should be & lt ;, without the spaces. And the > above should be & gt ;, without the spaces.
  7. This will get your product image in the feed.... Find this code at or near line 166 or 167 in rss.php echo $desc . "\n"; and replace with this... echo '<img src="' . $image_url . '" border="0" align="right" alt="' . $name . '">' . $desc . "\n"; See it at http://www.faceplantwatertoys.com/rss.php.
  8. To pull all products, on lines 96 & 99, remove the following: LIMIT ' . MAX_DISPLAY_SEARCH_RESULTS The lines should now end like .... DESC ' ;
  9. Anyone hosting on godaddy.com and using this module will need to make the following change to /ext/modules/payment/paypal_ipn/ipn.php. Find (at or around line 71): curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); Add immediately after: curl_setopt($ch, CURLOPT_PROXY, "HTTP://64.202.165.130:3128"); This is needed for communicating with PayPal.
  10. After installing this mod per instructions, I had to make the following change in /catalog/shopping_cart.php to get this to work for "out of stock" or inactive products. Find this: $gift_query = tep_db_query("SELECT fg.*, p.products_id, p.products_model, p.products_price, p.products_image, p.products_status, pd.products_name FROM " . TABLE_CARROT . " fg, " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON (pd.products_id=fg.products_id) WHERE pd.language_id = '".$languages_id."' AND p.products_id = fg.products_id AND p.products_status = '1' ORDER BY fg.threshold ASC"); and change to this $gift_query = tep_db_query("SELECT fg.*, p.products_id, p.products_model, p.products_price, p.products_image, p.products_status, pd.products_name FROM " . TABLE_CARROT . " fg, " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON (pd.products_id=fg.products_id) WHERE pd.language_id = '".$languages_id."' AND p.products_id = fg.products_id AND p.products_status = '0' ORDER BY fg.threshold ASC"); Just change p.products_status = '1' to p.products_status = '0' in the where clause.
  11. OK, I ran the sql from the above contrib. It still didn't work, but I figured out why. After installing the above contrib, open /catalog/includes/modules/shipping/freeamount.php Line 45 & 46 look like this: // } elseif ($check['zone_id'] == $order->delivery['zone_id']) { } elseif ($check['zone_country_id'] == $order->delivery['country']['id']) { I changed it to this: } elseif ($check['zone_id'] == $order->delivery['zone_id']) { // } elseif ($check['zone_country_id'] == $order->delivery['country']['id']) { Everything seems to be working ok, but make sure you test it out first! (Edit) Also, make sure you go in to the admin tool and assign Free Amount Shipping to the zone that is created! Brian Christensen
  12. Try this contribution....I'm working on the same thing... http://www.oscommerce.com/community/contri...ons,3404/page,3
  13. Changing your configure.php would be the better way to fix the issue, as long as it doesn't mess up your store operation. The fewer changes you have to make to mod files the better. Brian
  14. http://forums.oscommerce.com/index.php?sho...&gopid=811406 Answer should be just above this reply....
  15. Here's the fix. Open googlesitemap/sitemap.class.php and go to line 258 and change from $this->savepath = DIR_FS_CATALOG; to $this->savepath = DIR_FS_CATALOG . '/'; That should do it.... For Windows it may be like $this->savepath = DIR_FS_CATALOG . '\';