Jump to content

georgei

Members
  • Content count

    23
  • Joined

  • Last visited

  1. Thanks for that tip, Bill. I already have the cats and subcats titles optimized that way :) And thanks for clarification Shaun
  2. Instructions state... "Add one line of code to add to each catalog page." INSTRUCTIONS: 1) Go to each of your catalog pages one by one. 2) Find this line: <title><?php echo TITLE ?></title> 3) Change it to: <title><?php echo TITLE ?> : <?php echo HEADING_TITLE; ?></title> Which are the catalog pages mentioned here? thanks
  3. I've installed this contribution (http://www.oscommerce.com/community/contributions,2390) and everything works fine, it geneates a CSV file on my webserver, but when I open it with Excel it not formatted properly. the info shows up in wrong columns. For example, City names show up under the State column, etc.. Has anyone had this problem? Or have any ideas as to what can cause this? Thanks
  4. georgei

    Search-Engine Safe URLs problem

    Thanks, i'm gonna go give it a try.
  5. georgei

    Search-Engine Safe URLs problem

    Thanks, I figured that's what was going on. I want to remove this contrib and install a newer one, but to do that I need to know exactly what my current one is called, so I can find its installation instructions. If anyone can link me to both my currently installed URL contrib (I didn't install it myself) and a better one to replace it with? Thanks!
  6. Can anyone tell me exactly which URL mod this is that is showing as "Use Search-Engine Safe URLs (still in development): true" in my Admin panel please? The problem is because it changes URL's, if I have 10+ products on a page and I try to click on Next Page at the bottom, it doesn't work because the link stays the same.. Eg. www.mysite.com/category/subcategory1/ Whatever sub category I'm viewing, the Next Page link is labeled as that. Any help? Thanks
  7. Hey all, Can someone help me modify this code from the optional related products contribution to display products in 3 rows, instead of horizontally please? // DANIEL: begin - show related products if (SHOW_INACTIVE_PRODUCTS=='True') { $attributes = "select pop_products_id_slave, products_name, products_status, products_price, products_tax_class_id, products_image from " . TABLE_PRODUCTS_OPTIONS_PRODUCTS . ", " . TABLE_PRODUCTS_DESCRIPTION . " pa, ". TABLE_PRODUCTS . " pb WHERE pop_products_id_slave = pa.products_id and pa.products_id=pb.products_id and language_id = '" . (int)$languages_id . "' and pop_products_id_master = '".$HTTP_GET_VARS['products_id']."' order by pop_order_id, pop_id"; } else { $attributes = "select pop_products_id_slave, products_name, products_status, products_price, products_tax_class_id, products_image from " . TABLE_PRODUCTS_OPTIONS_PRODUCTS . ", " . TABLE_PRODUCTS_DESCRIPTION . " pa, ". TABLE_PRODUCTS . " pb WHERE pop_products_id_slave = pa.products_id and pa.products_id=pb.products_id and language_id = '" . (int)$languages_id . "' and pop_products_id_master = '".$HTTP_GET_VARS['products_id']."' and products_status=1 order by pop_order_id, pop_id"; } $attribute_query = tep_db_query($attributes); if (mysql_num_rows($attribute_query)>0) { echo '<tr><td><table class="productlisting" border="0" cellspacing="0" cellpadding="2" width="100%">'; echo '<tr><td align="center" class="productListing-heading" > '.TEXT_RELATED_PRODUCTS.' </td></tr><tr><td align="center" class="productListing-data">'; echo '<table border="0" cellspacing="0" cellpadding="2" width="100%" align="center"><Tr>'; while ($attributes_values = tep_db_fetch_array($attribute_query)) { $products_name_slave = ($attributes_values['products_name']); $products_id_slave = ($attributes_values['pop_products_id_slave']); if ($new_price = tep_get_products_special_price($products_id_slave)) { $products_price_slave = $currencies->display_price($new_price, tep_get_tax_rate($attributes_values['products_tax_class_id'])); } else { $products_price_slave = $currencies->display_price($attributes_values['products_price'], tep_get_tax_rate($attributes_values['products_tax_class_id'])); } // show thumb image if Enabled echo '<td class="productListing-data" align="center">'; //if (MODULE_RELATED_PRODUCTS_SHOW_THUMBS!='False') { // echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_id_slave) . '">' . tep_image(DIR_WS_IMAGES . $attributes_values['products_image'], $attributes_values['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"').'</a>'; //} //echo '<Br> <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_id_slave) . '">'.$products_name_slave.'<Br>@ '.$products_price_slave.'</a>'; //. '/action/buy_now">' . echo '<table cellpadding=0 cellspacing=0><tr><td height=36 align=center><a class="greenText" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_id_slave) . '">' . $products_name_slave . '</a></td></tr></table>'; if (MODULE_RELATED_PRODUCTS_SHOW_THUMBS!='False') { echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_id_slave) . '">' . tep_image(DIR_WS_IMAGES . $attributes_values['products_image'], $products_name_slave, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'style="margin:4px;"') . '</a>'; } echo '<br><span class="priceText">' . $currencies->display_price($attributes_values['products_price'], tep_get_tax_rate($attributes_values['products_tax_class_id'])) . '</span>'; if ($attributes_values['products_status']==1){ echo '<br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_id_slave) . '/action/buy_now">' . tep_image_button('button_add_to_cart.gif', IMAGE_BUTTON_ADD_TO_CART) . '</a><br> <a href="http://www.ewish.com/merchants/atr.cfm?storeid=481240&gifttype=blank" target=EwishLogon>'.tep_image_button('button_addtoreg.gif', IMAGE_BUTTON_ADD_TO_CART).'</a>'; } else { echo '<br>' . tep_image('images/line_add_to_cart.gif') . '<br><span class="redText">Out of Stock</span>'; } } echo '</td>'; echo '</tr></table></td></tr></table></td></tr>'; } //DANIEL: end
  8. Is there a way to expand maximum char length for product name maybe?
  9. Hi all, I discovered an issue yesterday while adding more items to my shop, I have several items that are of the same kind and are titled the same (Round Table & Chair Set). I left them named the same because I thought that I?d be able to display manufacturer name along with product name. So the actual problem is, if you go to the main page you can test it, and click on Tables & Chairs in the menu, you?ll see 3 Chair Desk with Storage items on the top. Hovering over the item, URL will show the same ?Search Engine Friendly URL?, and clicking on any one of those 3 similar items will always bring you to the LAST item that was added to DB with that same name. Besides renaming all similar items, do you guys have any other ideas? I would like the cart to use the manufacturer name that I specified for each item in the product name, and ultimately the product URL. Thanks in advance!
×