Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Spyros

Archived
  • Posts

    19
  • Joined

  • Last visited

About Spyros

  • Birthday 12/16/1977

Profile Information

Spyros's Achievements

  1. As I can see the code on your site is wrong. You have to put <script type="text/javascript" src="js/lightbox.js"></script> in your <head> </head> tags, NOT you body tags. Edit your template to do this. Try that and let me know.
  2. Firstly I would like to thank you for the excellent contribution. I have to refer a conflict with the contribution: Meta Tags On The Fly http://www.oscommerce.com/community/contributions,4971/category,all/search,meta+tags+on+the+fly The solution is to replace every $description variable in the catalog/information.php to something else (like $description_pages).
  3. HOW TO ADD MANUFACTURER NAME and MANUFACTURER IMAGE in STS4 edit : catalog/includes/modules/sts_inc/product_info.php add: // MANUFACTURER in PRODUCT INFO START $manufacturer_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name, m.manufacturers_image from " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS . " p where p.products_id = '" . $products_id . "' and p.manufacturers_id = m.manufacturers_id"); $manufacturer = tep_db_fetch_array($manufacturer_query); $template_pinfo['manufacturername'] = '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturer['manufacturers_id'] . '=' . $manufacturer['manufacturers_name'], 'NONSSL') . '">'. $manufacturer['manufacturers_name'] . ' </a>'; $template_pinfo['manufacturerimage'] = tep_image(DIR_WS_IMAGES . $manufacturer['manufacturers_image'], $manufacturer['manufacturers_name']); // MANUFACTURER in PRODUCT INFO END AFTER: // Get product information from products_id parameter $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . $products_id . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); around line: 26 Then you can use on your product info template: $manufacturername$ and $manufacturerimage$
  4. I think I do :P go to: catalog/includes/sts_product_info.php find: $template['regularprice'] = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); replace with: // $template['regularprice'] = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); $template['regularprice'] = $products_price=$pf->getPriceString(); find: // See if any product reviews above add: $template['changequantity'] = TEXT_ENTER_QUANTITY . ":" . tep_draw_input_field('cart_quantity', $pf->adjustQty(1), 'size="6"'); Now the box with muliple prices will show on your product info sts template Also you can add: $changequantity wherever you want the quantity input field would like to appear! Everything else is working out of the box! Good luck!
  5. Got to: --------------------------------------------------------- $category_query = "SELECT `categories_description`.`categories_name` ---------------------------------------------------------- Replace with: --------------------------------------------------------- $category_query = "SELECT DISTINCT `categories_description`.`categories_name` --------------------------------------------------------- Go to: -------------------------------------------------------- $product_query = "SELECT `products`.`products_id`,`products`. -------------------------------------------------------- Replace with: -------------------------------------------------------- $product_query = "SELECT DISTINCT `products`.`products_id`,`products`. -------------------------------------------------------- Then there will be no duplicated products when using more than 1 language. You will have 1 time of each product in each language! Hope this helps!
  6. I have the same problem! I have downloaded the latest contribution but it still remains. The vote is casted tho. Any tips would be helpfull. Thanks Spyros
×
×
  • Create New...