Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nimz

Pioneers
  • Posts

    168
  • Joined

  • Last visited

Profile Information

  • Real Name
    nimz
  • Gender
    Male
  • Location
    Canada, Toronto

nimz's Achievements

  1. Not what I was asking for. No need for billions of screen shots, Just one link to one site that has this add-on in place would do just fine. Just want to get a feel for what this add-on offers in the most generic, out of the box way. PS: There are a lot of free image hostings at your disposal these days so no worries about the storage, http://www.google.ca/search?q=free+image+host
  2. Can anyone provide a demo or a screenshot?
  3. "Duplicate column name 'products_image_lrg'" means u already have this column in the products table. go to phpmyadmin and double check the table see if you see that column.
  4. Just updated the addon page with instructions to add lightbox to all you review pages.
  5. yes the installation should be the same. basically the lightbox is an add-on to ultra pics. follow all steps to install ultra pics as usual.
  6. it's included in your web hosting. login to your control panel and from the database manager create a database and a database user then give full access to this user. make a note of the database and db user name and password. use those credentials during setup. if you don't know how to do these things search on google or ask your host to make them for you.
  7. just look in the add-on section and search for free shipping here's what i found: http://addons.oscommerce.com/category?search=free+shipping
  8. I don't use it myself as I don't believe in menus that are not built in css but took a look and if you open the jcssmenu.js right in the beginning there's this line: var jcssMenuDelay = 500; try playing with the number see if it's what you were looking for
  9. did you sign up?got your id?edited the file with your id? please provide a link if possible.
  10. function calculate_price() is missing from file catalog/admin/includes/classes/currencies.php included in the archive. if you have done the manual installation then you are fine however if you copied the included files in the archive over your files then you will have a problem. Not having the above function doesn't prevent the add-on from installing however as soon as you add aproduct to your cart things will get messy. here's how to fix this issue: open catalog/includes/classes/currencies.php FIND: function is_set($code) { if (isset($this->currencies[$code]) && tep_not_null($this->currencies[$code])) { return true; } else { return false; } } ADD BEFORE: function calculate_price($products_price, $products_tax, $quantity = 1) { global $currency; return tep_round(tep_add_tax($products_price, $products_tax), $this->currencies[$currency]['decimal_places']) * $quantity; }
  11. yes it seems that the add-on has not been applied to the link as it is still trying to add the old format (&page=2) to the end of the link and since that link doesn't exist it doesn't work. make sure that you have applied all sections of the add-on also look for possible released fixes after the package you downloaded.
  12. I thought I should help you before you get bored and stop posting in this thread :D open catalog/includes/boxes/search2.php FIND: <input type="text" name="keywords" value="Search" size="30" ONFOCUS="clearDefault(this)"> ADD BELOW: <input type="hidden" name="search_in_description" value="1" /> <input type="hidden" name="inc_subcat" value="1" /> save the file. This searches in product descriptions and also all the sub categories which I thought you would probably prefer to have. Enjoy.
  13. I've fixed the code to ensure the pop up image also opens in a lightbox. fix is posted on the contribution page. as for displaying the products name with the image on the lightbox first make sure you have applied the latest fix I posted on the contribution page of this add-on then do the following: open products_info.php: FIND: <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> REPLACE: <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '" rel="lightbox" title="'. $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> This would add the name of the product to the bottom of the image in the lightbox. if you compare the two pieces of code you can see that the only difference is the addition of: which is now set to the product's name. you can enter anything in between the " " and it will appear on the bottom of the image lightbox as long as you use the correct syntax.
  14. Corrected several bugs in additional_images.php in both versions of ultrapics with and without lightbox. They are posted here: http://addons.oscommerce.com/info/1642 (lightbox version is pending file size approval) both archives are full package releases. also compiled a new and complete installation guide for lightbox version. now about the bugs: according to the specifications when small image x is available and large image x is available ultraimages should generate a thumbnail of small image x that pops up large image x upon clicking. but this didn't work properly as the "if condition" was worded wrong. here's how it was: <?php } elseif (($product_info['products_image_sm_1'] != '') && ($product_info['products_image_sm_1'] != '')) { ?> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=1') . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], addslashes($product_info['products_name']), ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_sm_1']) . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> </td> look at elseif condition!! then look at <noscript>generated link points to the wrong image</noscript> and this same wrong code is applied to all six image sets. now same thing with the lightbox version: look at elseif condition here: <?php } elseif (($product_info['products_image_sm_1'] != '') && ($product_info['products_image_sm_1'] != '')) { ?> <td align="center" class="smallText"> here in the first line you can see how the link is pointing at the wrong image (small image) while it should point to large image: <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_sm_1']) . '" target="_blank" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </td> of course this was fixed in the new version that is going to be on the add-on page once it's size is approved. Thanx to everyone who has contributed. This is a great add-on and I highly suggest to apply this to a clean oscommerce install to prevent problems. there's only a handful of add-ons that should be applied to a clean os install, This surely is one of them.
×
×
  • Create New...