Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2011
    Posts
    30
    Plugin Contributions
    0

    Default Tabbed Product Pro and Customers Also Purchased issue

    Hi,
    I installed Tabbed Product Pro and I noticed I have an issue with the information displayed in the Customers Also Purchased tab.

    The product price displayed in the Customer Also Purchased tab is the same price the main product.


    e.g
    Product A - price £10
    Product B - price £15

    Say we are viewing Product A details:
    which shows the price is £10

    Viewing Customer Also Purchased tab
    Shows Product B
    Which show the price £10 (The price is incorrect it should be £15)

    Can alone help with this?

    Thanks

  2. #2
    Join Date
    Nov 2011
    Posts
    30
    Plugin Contributions
    0

    Default Re: Tabbed Product Pro and Customers Also Purchased issue

    Found the answer

    edit file also_purchased_products.php

    in folder includes/modules/electronics_black/

    The I added the following after

    while (!$also_purchased_products->EOF) {
    $also_purchased_products->fields['products_name'] = zen_get_products_name($also_purchased_products->fields['products_id']);

    as shown

    // show only when 1 or more and equal to or greater than minimum set in admin
    if ($num_products_ordered >= MIN_DISPLAY_ALSO_PURCHASED && $num_products_ordered > 0) {
    if ($num_products_ordered < SHOW_PRODUCT_INFO_COLUMNS_ALSO_PURCHASED_PRODUCTS) {
    $col_width = floor(100/$num_products_ordered);
    } else {
    $col_width = floor(100/SHOW_PRODUCT_INFO_COLUMNS_ALSO_PURCHASED_PRODUCTS);
    }

    while (!$also_purchased_products->EOF) {
    $also_purchased_products->fields['products_name'] = zen_get_products_name($also_purchased_products->fields['products_id']);

    // To correct price error here
    $products_price = zen_get_products_display_price($also_purchased_products->fields['products_id']);
    // To correct price error here

    This did the trick.

    I am not sure why this was correct originally but we have a fix now.

 

 

Similar Threads

  1. Customers who bought this product also purchased...
    By 1speedbump in forum General Questions
    Replies: 4
    Last Post: 23 Jan 2014, 06:03 PM
  2. Customers who bought this product also purchased...
    By explorer1979 in forum Templates, Stylesheets, Page Layout
    Replies: 33
    Last Post: 8 Nov 2011, 10:00 PM
  3. Customers Also Purchased... Layout Issue
    By ChrisDrumm in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Sep 2009, 04:29 PM
  4. Customers who purchased this, also purchased this, CSS issue
    By stlnyc in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Jul 2009, 11:12 PM
  5. Tabbed Product Pro Auto Adjust Issue
    By cevans73 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Jul 2008, 12:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR