Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CorpBoy

Archived
  • Posts

    22
  • Joined

  • Last visited

Profile Information

  • Real Name
    Paul

CorpBoy's Achievements

  1. ok, I added the "www" to both COOKIE_DOMAIN variables and it looks like it is working now. I'm not sure I understand why it is working, but I can live with just knowing that it works. :)
  2. I think I'm using .90. I have checked the login.php and found what the problem is, but don't know how to fix it. Basically when I add something to my cart and click on checkout, I go from HTTP to HTTPS and my cart disappears. So when the login screen comes up I don't have anything in the cart so the PWA box doesn't display. Any ideas what that might be?
  3. I'm having the same problem with not seeing the PWA option. I add something to the cart and hit checkout and all I get are the two standard login options. I did try disabling PWA through the admin screen and the login DID change. I got the two standard boxes side-by-side. When I enable PWA I get them on top of each other instead. Any ideas what could be causing this?
  4. I'm hoping somebody can help me. I'm trying to use this contrib with the "Ezier New Fields" contrib to show the retail price and customer savings. The only problem is that I can't get the Ezier contrib to work in column mode (they work fine together in row mode). A check of the Ezier support thread didn't show anyone using the two contribs together, so I thought I'd start here for some help. Here is the relevent section of product_listing.php (the column section): } elseif (PRODUCT_LISTING_DISPLAY_STYLE == 'columns') { $info_box_contents = array(); if ($listing_split->number_of_rows > 0) { $row = 0; $col = 0; $listing_query = tep_db_query($listing_split->sql_query); while ($listing = tep_db_fetch_array($listing_query)) { $listing['products_name'] = tep_get_products_name($listing['products_id']); if (PRODUCT_LIST_IMAGE > 0) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br>'; } if (PRODUCT_LIST_NAME > 0) { $lc_text .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a><br>'; } if (PRODUCT_LIST_MODEL > 0) { $lc_text .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . $listing['products_model'] . '</a><br>'; } if (PRODUCT_LIST_MANUFACTURER > 0) { $lc_text .= '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing['manufacturers_id']) . '">' . $listing['manufacturers_name'] . '</a><br>'; } // if (PRODUCT_LIST_RETAIL_PRICE > 0) { // if ((tep_not_null($listing['products_retail_price'])) && ($listing['products_retail_price']) > 0) { // $lc_text = '<font color="#55508a">' . $currencies->display_price($listing['products_retail_price'], tep_get_tax_rate($listing['products_tax_class_id'])); // } else { // $lc_text = ' '; // } // } if (PRODUCT_LIST_PRICE > 0) { if (tep_not_null($listing['specials_new_products_price'])) { $lc_text .= '<s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span>'; } else { $lc_text .= ' ' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . ' '; } } // if (PRODUCT_LIST_SAVE > 0) { // if ((tep_not_null($listing['products_retail_price'])) && ($listing['products_retail_price']) > 0) { // $lc_save = round(100 - (( $listing['products_price'] / $listing['products_retail_price'] ) * 100 )); // $lc_text = '<font color="red"> ' . $lc_save . '% </font>'; // } else { // $lc_text = ' '; // } // } if (PRODUCT_LIST_BUY_NOW) { $lc_text .= '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $listing['products_name'] . TEXT_NOW) . '</a>'; } I have the contrib set up for three columns and I'm expecting to see the following in each column: Image Name Retail Price List Price Savings Buy Now However, when I uncomment the PRODUCT_LIST_RETAIL_PRICE and PRODUCT_LIST_SAVE sections above all I get is the savings percent number (everything else disappears). I haven't as of yet figured out what the problem is. Can anyone help?
  5. Check out EZier New Fields. That looks like it adds the functionality you are looking for at the product listing level. You may be able to use it as a model for similar functionality at the product description level. http://www.oscommerce.com/community/contributions,1310 Paul
×
×
  • Create New...