lat9 / options_stock_support

Products' Options' Stock Manager: Support Thread
0 stars 3 forks source link

link (blue square) from category_product_listing does not open that product #26

Closed torvista closed 4 years ago

torvista commented 4 years ago

It appears the url needs both product and category id to display the product now.

if (is_pos_product($p1['products_id'])) {
                    $category_id = zen_get_parent_category_id($p1['products_id']);
                    $p2 .= '<a href="' . zen_href_link(FILENAME_PRODUCTS_OPTIONS_STOCK, 'pID=' . $p1['products_id'] . "&category_id=$category_id") . '">' . zen_image(DIR_WS_IMAGES . 'icon_blue_on.gif', POS_ALT_PRODUCT_HAS_OPTIONS_STOCK, '', '', 'style="vertical-align:top;"') . '</a>'; //steve removed spaces added style
                } else {
                    $p2 .= zen_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', 16, 16); //steve removed spaces
                }
                break;
lat9 commented 4 years ago

Darn it, there's always something. I'll get this going as well.

lat9 commented 4 years ago

v4.1.2 has just been released, containing correction for this issue.