Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

talon177

Archived
  • Posts

    403
  • Joined

  • Last visited

Everything posted by talon177

  1. Anyone know a solution on what to do when item's are downloaded instead of shipped to hide shipping estimator? For instance if people purchase only a gift voucher they would see the shipping_estimator.
  2. Did a fresh osC test install and got the same error everyone else has, SQL-query : INSERT INTO configuration( configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function ) VALUES ( '', 'Large Image Width (Pop-up)', 'LARGE_IMAGE_WIDTH', , 'The pixel width of large images (Pop-up)<br>(Use 0 for non-specific size)', 4, 32, now( ) , now( ) , NULL , NULL ) MySQL said: #1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'The pixel width of large images (Pop-up)<br>(Use 0 for non-sp
  3. u could use phpmyadmin to load the master.sql
  4. Hey veral #1 is correct, what you could do is have it say view info instead of buy now for products with masters, what i did was to get rid of the buy now section and have all products use a master, and you could change it to view info. #2 theres a response to this in 1 of these pages, just be sure to go through the pages again, as i did and johnson helped me with this issue and i believe theres a few post on this. #3 theres a post in the previous pages on all of these issues. Let us know how it goes, everything should be good as i've been testing this product 24/7 and haven't found any bugs so far that hasn't been covered except for 1 i'm hoping will work =D Slave thumbnail popup =D Matt
  5. Hey Johnson, thanks for the code, hopefully you can help me answer one more question =D Sorry for the hassle, but i've been trying all day to get this code to work together. Your Code slightly modified: case 'MASTER_LIST_IMAGE': if (tep_not_null($listing['products_image'])) { $lc_align = 'center'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'planet_aquaria/camera.gif', $listing['products_name'], 14, 15) . '</a>'; } else { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'planet_aquaria/camera.gif', $listing['products_name'], 14, 15) . '</a>'; } } else { $lc_text = tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', $listing['products_name'], 14, 15); } break; MaxiDVD's Ultimate Images Pack Code for product_info.php <?php if (tep_not_null($product_info['products_image'])) { ?> <?php // BoF MaxiDVD: Ultra Images Pack! ?> <?php if ($product_info['products_image_med']!='') { $new_image = $product_info['products_image_med']; $image_width = MEDIUM_IMAGE_WIDTH; $image_height = MEDIUM_IMAGE_HEIGHT; } else { $new_image = $product_info['products_image']; $image_width = SMALL_IMAGE_WIDTH; $image_height = SMALL_IMAGE_HEIGHT;}?> <script language="javascript"><!-- document.write('<?php echo '<div align="center"><a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=0') . '\\\')">' . tep_image(DIR_WS_IMAGES . $new_image, addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a></div>'; ?>'); //--></script> <noscript> <?php echo '<div align="center"><a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '">' . tep_image(DIR_WS_IMAGES . $new_image . 'ℑ=0', addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a></div>'; ?> </noscript> <?php // EoF MaxiDVD: Ultra Images Pack! ?> <?php } ?> What i was trying to do with your code and his is to make the master listing page which displays slave items show a image icon for slave products with images, and instead of clicking on it to bring you to the slave product it would do a popup of the slaves bigger picture using maxi's images pack. Here's the code that I tried to do myself, but when the picture popsup it shows a red x, <script language="javascript"><!-- document.write('<?php echo '<div align="center"><a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id'] . 'ℑ=0') . '\\\')">' . tep_image(DIR_WS_IMAGES . 'planet_aquaria/camera.gif', addslashes($product_info['products_name']), 14, 15, 'hspace="5" vspace="5"') . '</a></div>'; ?>'); //--></script> <noscript> <?php echo '<div align="center"><a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '">' . tep_image(DIR_WS_IMAGES . 'planet_aquaria/camera.gif' . 'ℑ=0', addslashes($product_info['products_name']), 14, 15, 'hspace="5" vspace="5"') . '</a></div>'; ?> </noscript> Thanks again, and sorry for the trouble, hopefully this will help others with the same situation in mind.
  6. Well, it displays on the product_info.php page :D No popup - copy how its done in product_info.php The code replaces in master_listing.php from 'case 'MASTER_LIST_IMAGE':' to 'break;' It displays pixel_trans.gif instead of the red x - really its just a spacer but still has the product link if needed(you can leave that out!) - this maintains the table format nicely. Matti Hey Johnson, thanks for the help, that works great, but if I removed <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> how would I get rid of the TITLE_HEADING space that's left for the image? Right now my SMALL_IMAGE_WIDTH and height is set to 100 x 100, so in the title heading i have a 100pixel blank space, but now if i remove the code above, i'll still be left with the title heading space, but now the model number moves over to the left being stuck in the image area. Thanks again!
  7. Is anyone else having a problem with the titles on address_book_process.php?
  8. Hey Paul, I just noticed in address_book_process, that this line isn't displaying my heading titles correctly, for modify, new entry and delete, it show's up HEADING_TITLE: The code is on line 231-237 if (isset($HTTP_GET_VARS['edit']) && is_numeric($HTTP_GET_VARS['edit'])) { $breadcrumb->add(NAVBAR_TITLE_MODIFY_ENTRY, tep_href_link(FILENAME_ADDRESS_BOOK_PROCESS, 'edit=' . $HTTP_GET_VARS['edit'], 'SSL')); } elseif (isset($HTTP_GET_VARS['delete']) && is_numeric($HTTP_GET_VARS['delete'])) { $breadcrumb->add(NAVBAR_TITLE_DELETE_ENTRY, tep_href_link(FILENAME_ADDRESS_BOOK_PROCESS, 'delete=' . $HTTP_GET_VARS['delete'], 'SSL')); } else { $breadcrumb->add(NAVBAR_TITLE_ADD_ENTRY, tep_href_link(FILENAME_ADDRESS_BOOK_PROCESS, '', 'SSL')); } Anyone else seeing this or have a solution?
  9. Humn, what version are you using? I installed this contrib 2 days ago, and it worked only after i completed a test order.
  10. I believe the only way you'll see an ad populate is when someone from another site actually comes to your site and buys a product, when buying a product the website will add it's info on the page, but if they don't buy this time it won't populate till they come back and buy.
  11. Robert: This is a great mod! SirLeo: Thanks for the change!
  12. Could you post your version, I also can't seem to get this to work.
  13. Just a quick hack - it ignores the manufacturer.... in catalog/includes/modules/master_listing.php: ? ? ? ? ?case 'MASTER_LIST_IMAGE': ? ? ? ? ?if (tep_not_null($listing['products_image'])) { ? ? ? ? ? ?$lc_align = 'center'; ? ? ? ? ? ?if (isset($HTTP_GET_VARS['manufacturers_id'])) { ? ? ? ? ? ? ?$lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ? ? ? ? ? ?} else { ? ? ? ? ? ? ?$lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; ? ? ? ? ? ?} ? ? ? ? ? ?} else { ? ? ? ? ? ? ?$lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; ? ? ? ? ? ?} ? ? ? ? ? ? ?break; Matti Is this for the product_info.php page? For example I have a master product which has 5 slave products listed below, in this case I would like to show the slave thumbnails, and also have them clickable to be a popup rather than going to the slave page. Next example I have another master product with 10 slave products, in this case I have 0 slave thumbnails but now it shows up 10 x's in slave listing. Not sure if the code you mentioned above was what I was asking for, just checking before I add it. Thanks again Johnson! Matt
  14. I also just noticed that if there's no image displayed in the slave file, it'll show a red x, anyone know of a way to make a statement saying if there's no images in the product slave listing for that particular item it'll remove that column?
  15. Hey everyone, Not sure if this was mentioned, but is there a way to make the thumbnails of slave products image be able to popup also?, right now when i click on the thumbnail in the slave section of the master product it just refreshes the page.
  16. I would not add any if statements to "boxes.tpl.php". It is very easy to create individual box templates, just take "box.tpl.php" and save it as "categories.tpl.php" in the same "templates/.../boxes/" directory and you will have a new template for the categories box. That'll work. That'll work.
  17. Has anyone been using the Review Notification with this contrib, it works great, but I can't seem to find the forum link again.
  18. Wow your stuff is all setup nicely with the BTS.
  19. Actually for example the reason I touched includes\boxes\shopping_cart.php and includes\boxes\categories.php and other files, is to add things such as View Cart inside the shopping_cart.php or to add specials inside the categories.php box, also graphical images to each box, and a few other things, but I guess I could make individual templates for each or write if statements inside the boxes.tpl.php You have a pretty nice store =D, I guess I can redo mine at a later date to fix this issue.
  20. Are you running any mods ontop of this? I actually got this working in 1 shot with many mods, but you could try reinstalling it, and also make sure you follow the instructions and that you place everything where it belongs. If you put this contrib in a fresh osC 2.2 MS2 it'll work perfectly. HTH,
  21. That sounds like a good idea, especially when you have a master product, then 10 different similar slaves under it, but for each slave has 5 different colors for example, instead of displaying 50, it would be nice if you could have a drop down which has additional slaves in it, with their own product page. Another way you could do this is Make 10 Masters with the 5 slaves in each master which still comes out to 50, but then you would see the same master 10 time with different variations.
  22. Hey Paul, What i was trying to think of if theres a way to say something like whatever cpath and cid and pid is add #TOP to the end of it, i was looking around the files, and couldn't come up with a solution. At the moment i'm still working on the store setup with BTS and while modififing the entire site to give a personal touch, i also have to touch files in the includes\boxes\, hopefully this can be modified into the next BTS version so you can have more than one template. Thanks again, Matt
×
×
  • Create New...