dootch
Archived-
Posts
108 -
Joined
-
Last visited
Everything posted by dootch
-
Down here as well no changes made
-
OK folks here is how I got it to work when a customer is not logged in I installed the latest package 2.2 and used the includes/modules/shipping_estimator.php file from 2.0
-
Is there a way to add append a date to my outfile that I save? I would like to save them for reference rather than overwrite them daily. I suppose It could go froogle-101705.txt I suppose it would be added to this section $OutFile = "../xyz/froogle.txt"; //"CHANGEME-full-path-to-file-with-777-dir-and-file-permissions.fr-outfile.txt"; Does anyone have an idea??
-
Rushy, Mod the look from the ccc.php file around line 80 for the first screen around line 145-170 or so for the second screen. You can re table that stuff add an image or 2 to get a pretty good look. I added a couple of fields to the db for image files and called them as well as the text in the ccc.php, particularly ccc_fsb_description and ccc_systems_description. Take a look at www.snjcomputers.com/forum the "official CCC support forum" :thumbsup: Leandroc76 reformatted his build.php table to a pretty good look. FYI If you add a pic to the build.php page pulling from the ccc db it will be a broken link if the customer clicks edit from shopping cart page(because the build then becomes a product). You would need another array and an else to then pull the pic from the product_description table if you set up for the image to load into the product_description table. I hope this makes sense. Dig in, it does work but you need some skills its not for the faint of heart.
-
Step 1. Start with CCC options create some master configs (System Info) by cpu type, form factor type or whatever. Step 2. Once created click on them now add system types (System Build Name) be it laptops, servers, workstation whatever. Step 3 Now click on newly created System Build Name and add your configuration categories ie. CPU, Memory, Chassis, Hard Drive etc. Step 4 Click on a newly created Category click new product and map it (you will see) from a drop down to an existing category in your shop from there you can add parts to your configurator
-
I am trying to exclude the "custom" products from the cross sell mod for the admin here is the bit of code used in admin to display the cross sell products. It seems that I would exclude the custom parts from the query but oh where should I place and products_model != 'Custom' Code.... Thanks <?php // X-SELL by Kavita Begin $products_query_selected = tep_db_query("select xsell_id from " . TABLE_PRODUCTS_XSELL . " where products_id = '" . $HTTP_GET_VARS['pID'] . "'"); $products_array_selected = array(array('id' => '')); while ($products = tep_db_fetch_array($products_query_selected)) { $products_array_selected[] = array('id' => $products['xsell_id']); } if ($HTTP_GET_VARS['pID']) { $products_query = tep_db_query("select products_id, products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where language_id = '". $languages_id ."' and products_id != '" . (int)$HTTP_GET_VARS['pID'] . "' order by products_name"); } else { $products_query = tep_db_query("select products_id, products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where language_id = ". $languages_id ." order by products_name"); } while ($products = tep_db_fetch_array($products_query)) { $products_array[] = array('id' => $products['products_id'], 'text' => $products['products_name']); } ?> <tr> <td class="main"><?php echo 'Cross Sell Products'; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_mselect_menu('products_xsell_ids[]', $products_array, $products_array_selected, 'size=10'); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <?php // X-SELL by Kavita End ?>
-
Any updates on the new version? or should I just install the current and wait for updates?
-
Digging through all the forks of this contrib I found this fix for the header showing when no products are linked this is a new xsell_products.php file to replace the one in catalog/includes/modules <?php /* $Id: xsell_products.php, v1.1 2004/02/16 osCommerce, Open Source E-Commerce Solutions <http://www.oscommerce.com> Copyright (c) 2002 osCommerce Released under the GNU General Public License modified Feb 16, 2004 to not display the x-sell box header if there are no products set for cross-selling. A small change in execution logic. */ if ($HTTP_GET_VARS['products_id']) { $xsell_query = tep_db_query("select distinct p.products_id, p.products_image, pd.products_name, p.products_tax_class_id, products_price from " . TABLE_PRODUCTS_XSELL . " xp, " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where xp.products_id = '" . $HTTP_GET_VARS['products_id'] . "' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and p.products_status = '1' order by xp.products_id asc limit " . MAX_DISPLAY_ALSO_PURCHASED); $num_products_xsell = tep_db_num_rows($xsell_query); if ($num_products_xsell >= MIN_DISPLAY_XSELL) { ?> <!-- xsell_products //--> <?php $row = 0; $col = 0; $info_box_contents = array(); while ($xsell = tep_db_fetch_array($xsell_query)) { $xsell['specials_new_products_price'] = tep_get_products_special_price($xsell['products_id']); if ($xsell['specials_new_products_price']) { $xsell_price = '<s>' . $currencies->display_price($xsell['products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])) . '</s><br>'; $xsell_price .= '<span class="productSpecialPrice">' . $currencies->display_price($xsell['specials_new_products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])) . '</span>'; } else { $xsell_price = $currencies->display_price($xsell['products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])); } $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . $xsell['products_name'] .'</a><br>' . $xsell_price. '<br><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a>'); $col ++; if ($col > 2) { $col = 0; $row ++; } } // halbert mod - Don't show heading if no cross-sell items if (($num_products_xsell >= MIN_DISPLAY_XSELL) && ($num_products_xsell > 0)) { $info_box_heading = array(); $info_box_heading[] = array('align' => 'left', 'text' => TEXT_XSELL_PRODUCTS); new contentBoxHeading($info_box_heading); new contentBox($info_box_contents); } ?> <!-- xsell_products_eof //--> <?php } } ?> Hope this helps someone
-
Almost works for me box goes away when no cross sell products but infobox header is now gone when displaying. Line around box exists product is in the box but no header???
-
Works like a champ. You RULE!!!!
-
Got the price thing figured out (thanks Jim) Next question is if I want to limit products to those of certain manufacturers. I can get it work with one manufacturer using the following command AND manufacturers.manufacturers_id=284 but I cannot get it to work for more than one (I would like to have about 10). If I add another AND command it returns nothing. I am not an SQL wiz, I got my book out but I cant figure it out so any help will be great
-
OK I got it to work conditionally around line 96 in froogle.php I added the following condition AND products.products_price>=50.00 but if the product is say on special for 39.99 and the regular price is $50.00 it will still end up on the feed. I guess this is not so bad considering.. Any thoughts?
-
Sorry John I should have clarified I have modified this to work with Yahoo and Nextag as well as using it for free froogle..
-
I have alot of items on my store that are very inexpensive so I do not want to pay say $.50 cents per click for a $.10 item. Is there a way to say only pull products that are $50.00 and above for the output file??? I currently manually sort and cut and ftp. I would like to automate this process. Thanks in advance
-
An oldie but it may help someone else looking for the answer in faq.php take out the <ul> tag at line 86 and the </ul> tag at line 91
-
'On the Fly' Auto Thumbnailer in admin
dootch replied to kidtortuga's topic in General Add-Ons Support
I installed this mod and it works great on my product images but does not thumbnail my manufacturers images in the Manufacturers Info box. Any idea's??? -
[contribution] individual product shipping prices
dootch replied to dmGremlin's topic in General Add-Ons Support
I understand in admin the reasoning behind the null and not null for the zip, indiv 1 price , indiv 2 price, but how can I just echo the values into those fields from the db. From the admin point of view I would like to see if those fields are populated with individual shipping prices or is this broken on mine??? On another note an FYI if you put the database entries into the table products and do not create the new table products_shipping as the instrctions mention for older installs you will have a problem because of this piece of code if (($HTTP_POST_VARS['products_ship_zip'] == '')&&($HTTP_POST_VARS['products_ship_methods_id'] == '')&&($HTTP_POST_VARS['products_ship_price'] == '')&&($HTTP_POST_VARS['products_ship_price_two'] == '')){ tep_db_query("DELETE FROM " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); Will delete the whole item from the db when taking out the indiv shipping entries -
Problem with Easypopulate and Access Admin level
dootch replied to dakkon's topic in General Add-Ons Support
Same problem here but not only for EP but also for DB Maint 1.0.2, Attributes that I have installed. Been screwing around with config files comparing to the other live sites I have, nothing.. its driving me crazy. There was another workaround I found take out line 19 tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); of file admin/includes/functions/general.php but you also lose the column left when doing this. Do what you need and then paste it back. For Now -
Credit Class/Gift Vouchers/Discount Coupons 5.10
dootch replied to Strider's topic in General Add-Ons Support
Lisa you probably figured this out already...but if you take out the second new infoBoxRed($info_box_contents); under $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . BOX_SHOPPING_CART_VIEW . '</a>' . ' ' . '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'NONSSL') . '">' . BOX_SHOPPING_CART_CHECKOUT . '</a>'); That should do the trick -
Joe, FYI I created a work-around to solve this problem on my site. What was needed was a page to land on once the button was clicked. I did not want to go back to the main index page so, I loaded the mod View All Products a very simple mod and edited the button to go to to the all_products.php page. Also on another note I was able to add the Individual Shipping cost mod to work with the auction manager. So if you do fixed shipping price auctions you can set the shipping price up when you set up the auction in the Automated Auction Process. It was a pretty simple hack I just loaded the Individual Shipping mod and compared the admin/categories.php file to your auction_listings_admin.php and modified the code to add to the fields to the listing manager. Pretty sweet. I am now working on getting multi-ship to work as well. So if a customer wants to buy their auction item which has a fixed shipping price with another item from my store which has a variable shipping price both can be done in the same cart....
-
I believe this line from the shopping_cart.php is the culprit. When the continue button is pressed it wants to go back which is the auction login screen. Any ideas???? <td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td>
-
I am assuming the not be able to continue to shop has something to do with the product_info page modifications. The cart will work fine for standard transactions. But when you enter the cart through auctionout.php it will not let you continue shopping in the store.
-
Joe, After winning an auction, and logging in. I try and continue shopping to add more items to my cart it kicks me back to the auction log in page. Then it will not let me back in because it changes the status to completed. Any idea's????
-
Joe, Cool I had the auction in completed status not ended status. That was causing it not to recognize the email address. One more question the shipping cost stuff. I saw in some other auction manager an issue with freight. How does one go about setting up to pull the freight from the auction not the standard OSC freight modules. Or can a freight cost be placed in auction product entry page??
-
Joe, I want to try the checkout process of the auction out. I have got the listing part all cool. But I have an auction that ended and I wanted to see if its working so I put my email and user as the winning bid, click send notification and viola I get the email saying the auction is over bla bla and to go to this link. NP. When entering my email address it error's saying email not in database please use the email address ...etc. Am I not doing something right do I need to set the customer up in the database first?????