Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Andyy

Pioneers
  • Posts

    75
  • Joined

  • Last visited

Everything posted by Andyy

  1. I have just set-up php and got the website working on my local computer and amazingly the link manager works OK The green tick is showing up correctly So my problem must be a server issue which I am investigating and will let you know the outcome. Thanks for you help and support Sam I Will be back!! Andy
  2. Still an error Sam ThumbRankDescriptionCategoryStatusLink FoundLast CheckedSubmittedOperation Official retailers of The Mountain T-shirts - 10 loyalty discounts.T-Shirts Not Found or Invalid url Delete Checked reciprocal for link id:7 Not found!!
  3. Hi Sam Here is what I have now configured link_manager.php define('LM_CHECK_PHRASE','Lush Love Tshirts | Print Your Customised Tshirt,The Site That Loves Lush T Shirts, FREE Delivery WorldWide,http://www.lushlovetshirts.com'); links.php define('Website_URL','http://www.lushlovetshirts.com'); define('Website_Title','Lush Love Tshirts | Print Your Customised Tshirt'); define('Description','The Site That Loves Lush T Shirts, FREE Delivery WorldWide'); define('LM_TITLE','<b>Links Page</b>'); The Reciprocal www . tamstreasure sonline.co.uk/link-page-4-17-w.asp And the Reciprocal listing Lush Love Tshirts | Print Your Customised Tshirt - The Site That Loves Lush T Shirts, FREE Delivery WorldWide, Please tell me where I am going wrong Thank you for your patience with me Andy
  4. Please explain what the Link_codes: is for when editing the link - do I need to add anything in the textarea Thanks Andy
  5. I also tried define('LM_CHECK_PHRASE','The Site That Loves Lush T Shirts,FREE Delivery WorldWide,Customise Your tshirt,http://www.lushlovetshirts.com'); But still get Red X Andy
  6. I tried define('LM_CHECK_PHRASE','Lush Love Tshirts | Print Your Customised Tshirt,http://www.lushlovetshirts.com'); but still get a red X
  7. Thanks for your fast reply Sam I did read first and added a phrase but I do not understand how your system works Given the links I posted earlier - what phrase should I add to the LM_CHECK_PHRASE Andy
  8. Reciprocal Link check does not seam to work - do I need to change a setting someware When checking for the Reciprocal Liks it says Not Found but when I go to the Reciprocal Link URL it exists and links back to my site Reciprocal Link:www.tamstreasuresonline.co.uk/link-page-4-17-w.asp Reciprocal Found X Last Checked: Not Found or Invalid url ################ The link is www . lushlovetshirts . com Lush Love Tshirts | Print Your Customised Tshirt - The Site That Loves Lush T Shirts, FREE Delivery WorldWide,
  9. Finally gone live Adam here is the link Regards Andrew
  10. A fantastic contrib if I could get it to work properly I use osCommerce 2.2-MS2 and get errors in admin customers and the customer can preview but is unable to update their product So I have removed it from my system.
  11. Will do Adam as soon as I put it live online. My trials have been a huge success and will be going live within the next 4 weeks. Regards Andrew
  12. Hi GeneralB Will not the osc affiliate contribution do what you require? http://addons.oscommerce.com/info/158
  13. I agree with you Adam. I have developed an online video rental system with osc and need the rental payment to go direct to seller (the clip owner) automatically so my banking account does not show any payment transactions which would cause me grief with the UK TAX Man. The option to do a manual paypal accountancy would be a nightmare. I am planing to earn from a monthly management fee keeping it clean and simple and automated. Andrew
  14. I have developed a Multiple Sellers feature on my site. It works by letting the customer pay the owner/seller of the product direct to their paypal merchant account. I am wanting to know if this contribution will benefit anyone? if so, I will turning it into a contribution. Multiple Sellers on one osCommerce site The contribution will let you include the sellers paypal merchant email address for each product created in admin. If no Seller Email address is added in the admin Categories/Products then the default paypal modules email address will be used. Multiple Sellers on one osCommerce site will only work with one item in the shopping cart. You cannot have multiple products by multiple sellers going through the checkout system at the same time? To restrict the shopping cart to on item at a time - the contrimution Forced Total Order Quantity By http://addons.oscommerce.com/info/4005 is utilised. Full installation included within this contribution. Regards Andrew
  15. Try this setting first http://www.oscommerce.com/forums/index.php?sho...484&st=1640
  16. I have never seen this Qurrently in Stock table and it is not produced by qtpro? goto admin > Configuration > Product Information > Product Info Attribute Display Plugin and change the dropdown and see each result in your product_info page you will see the options from qtpro.
  17. does this mean your "options with stock quantity on the Product Info Page" is solved?
  18. ok first things first you went one step too far too soon empty your database table for stock then start again and update the stock qty in stock.php but this time when your stock goes to 0 check to see that your out of stock message is seen in the dropdown options in product_info page
  19. Hi Peter, I would have to duplicate your issue to understand how to go about a fix pm me your language file from catalog and admin (just the language you have the issue with)
  20. OK now set the qty to 1 then do a test purchase for that product then see the results in stock.php
  21. don't want to sould stupid but to get to the bottom of your problem you will have to start with the basics Have you set-up attributes for your stock? then did you add the qty for each attribute in the stock page in admin?
  22. These are my settings Configuration/Stock Check stock level = true Subtract stock = true Allow Checkout = false Mark product out of stock *** Stock Re-order level 5 Configuration/Product Information Product Info Attribute Display Plugin = multiple_dropdowns Show Out of Stock Attributes = True Mark Out of Stock Attributes = Right Display Out of Stock Message Line = True Prevent Adding Out of Stock to Cart = True
  23. Did you make these changes between these tags in your product_info.php page? //++++ QT Pro: Begin Changed code //++++ QT Pro: End Changed Code <?php /* QT Pro Version 4.1 modifications Copyright (c) 2004, 2005 Ralph Day Released under the GNU General Public License Based on prior works released under the GNU General Public License: QT Pro prior versions Ralph Day, October 2004 Tom Wojcik aka TomThumb 2004/07/03 based on work by Michael Coffman aka coffman FREEZEHELL - 08/11/2003 <A href="mailto:[email protected]">[email protected]</A> Copyright (c) 2003 IBWO Joseph Shain, January 2003 osCommerce MS2 Copyright (c) 2003 osCommerce Modifications made: 11/2004 - Remove product attribute display code and replace with module call Add HTML table around product description and image to clean up display of product attributes when description is short 03/2005 - Fix problem where product image slides left up against the description ******************************************************************************** ***********</P> <P> $Id: product_info.php,v 1.97 2003/07/01 14:34:54 hpdl Exp $</P> <P> osCommerce, Open Source E-Commerce Solutions <A href="http://www.oscommerce.com">http://www.oscommerce.com</A></P> <P> Copyright (c) 2003 osCommerce</P> <P> Released under the GNU General Public License */</P> <P> require('includes/application_top.php');</P> <P> require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);</P> <P> $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le ft=150') } //--></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--></P> <P><!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <?php if ($product_check['total'] < 1) { ?> <tr> <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } else { $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 = '" . (int)$HTTP_GET_VARS['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);</P> <P> tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");</P> <P> if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); }</P> <P> if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . ' <span class="smallText">[' . $product_info['products_model'] . ']</span>'; } else { $products_name = $product_info['products_name']; } ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"> <?php if (tep_not_null($product_info['products_image'])) { //++++ QT Pro: Begin Changed code ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"> <?php //++++ QT Pro: End Changed Code ?> <table border="0" cellspacing="0" cellpadding="2" align="right"> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(<A>\\\''</A> . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . ' ' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . ' ' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> </td> </tr> </table> <?php } ?> <p><?php echo stripslashes($product_info['products_description']); ?></p> <?php //++++ QT Pro: Begin Changed code ?> </td> </tr> </table> <?php //++++ QT Pro: End Changed Code $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'"); $products_attributes = tep_db_fetch_array($products_attributes_query); if ($products_attributes['total'] > 0) { //++++ QT Pro: Begin Changed code $products_id=(preg_match("/^\d{1,10}(\{\d{1,10}\}\d{1,10})*$/",$HTTP_GET_VARS['products_id']) ? $HTTP_GET_VARS['products_id'] : (int)$HTTP_GET_VARS['products_id']); require(DIR_WS_CLASSES . 'pad_' . PRODINFO_ATTRIBUTE_PLUGIN . '.php'); $class = 'pad_' . PRODINFO_ATTRIBUTE_PLUGIN; $pad = new $class($products_id); echo $pad->draw(); //++++ QT Pro: End Changed Code } ?> </td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'"); $reviews = tep_db_fetch_array($reviews_query); if ($reviews['count'] > 0) { ?> <tr> <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php }</P> <P> if (tep_not_null($product_info['products_url'])) { ?> <tr> <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php }</P> <P> if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td> <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> </td> </tr> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--></P> <P><!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
×
×
  • Create New...