Jump to content

shonus90

Members
  • Content count

    5
  • Joined

  • Last visited

Profile Information

  • Real Name
    Patrick
  1. shonus90

    Optional Related Products, Version 4.0

    Ok after reading over the basic use of this module I see it was never designed to carry over sort orders with the inherit button but has anyone successfully done that?
  2. shonus90

    Optional Related Products, Version 4.0

    I really love this contribution and thank you again for creating it but I am having a problem with the inherit button not carrying over sort orders for the sub products from one product to another. Has anyone else had this problem too?
  3. shonus90

    Request Product Reviews

    Figured it out just changed DIR_WS_CATALOG to DIR_WS_HTTP_CATALOG I am not used to using files without any styling to start out with so how might I say group the image, product name, and review together and say give spacing to the name and align it with the top of the image? Would I create divs with $products_string and everything else? Thanks
  4. shonus90

    Request Product Reviews

    Thanks again Jim!! I edited $image_string to correct a syntax error and this is how it looks now. $orders_picture_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_array['products_id'] . "'"); $orders_picture = tep_db_fetch_array($orders_picture_query); $image_string = '<img src='. DIR_WS_CATALOG . DIR_WS_IMAGES. $orders_picture['products_image'].' width="90px" border="0">'; So I have send Emails in HTML format enabled and the image boxes are appearing but the links are broken because this is how it is writing the image source www.jupiteroceansports.comdir_ws_catalogimages/hewlett_packard/lj1100xi.gif Any thoughts?
  5. shonus90

    Request Product Reviews

    Big thanks Jim for all the work with this addon!! Installation went smoothly once I figured everything out but I know this thread is old but I have a question. How would you add the products images next to the product name? I have been toying around with it for time and can't seem to figure out how to have it call for the products_images. Here is how I have it right now // Get the products info for the order $products_query = tep_db_query ("select products_name, products_model, products_id from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . $orders_id . "'"); $orders_picture = tep_db_fetch_array($orders_picture_query); $orders_picture_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$order->products[$i]['id'] . "'"); $orderarray[$i] = array("Image" => "<img src=".HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . $orders_picture['products_image']." width='90px' border='0'>");} // Get a list of products and links to the review page for each $products_string = ''; while ($products_array = tep_db_fetch_array ($products_query) ) { // Step through the products // Add each product and each review URL to a list $products_string .= $products_array['products_image'] . ' ' . $products_array['products_name'] . "\n"; $products_string .= ' ' . $link_server . DIR_WS_HTTPS_CATALOG . '/product_reviews_write.php?products_id=' . $products_array['products_id'] . "\n"; Thanks
×