$product_packaging = ""; } // Change Packaging - End // PRODUCT IMAGE $product_full_image = $product_parent_id != 0 && !$db_product->f("product_full_image") ? $dbp->f("product_full_image") : $db_product->f("product_full_image"); // Change $product_thumb_image = $product_parent_id != 0 && !$db_product->f("product_thumb_image") ? $dbp->f("product_thumb_image") : $db_product->f("product_thumb_image"); // Change /* MORE IMAGES ??? */ $files = ps_product_files::getFilesForProduct($product_id); $more_images = ""; if (!empty($files['images'])) { $more_images = $tpl->vmMoreImagesLink($files['images']); } // Does the Product have files? $file_list = ps_product_files::get_file_list($files['product_id']); $product_availability = ''; if (@$_REQUEST['output'] != "pdf") { // Show the PDF, Email and Print buttons $tpl->set('option', $option); $tpl->set('category_id', $category_id); $tpl->set('product_id', $product_id); $buttons_header = $tpl->fetch('common/buttons.tpl.php'); $tpl->set('buttons_header', $buttons_header); // AVAILABILITY // This is the place where it shows: Availability: 24h, In Stock: 5 etc. // You can make changes to this functionality in the file: classes/ps_product.php $product_availability = $ps_product->get_availability($product_id); } $product_availability_data = $ps_product->get_availability_data($product_id); /** Ask seller a question **/
$product_packaging = ""; } // Change Packaging - End // PRODUCT IMAGE $product_full_image = $product_parent_id != 0 && !$db_product->f("product_full_image") ? $dbp->f("product_full_image") : $db_product->f("product_full_image"); // Change $product_thumb_image = $product_parent_id != 0 && !$db_product->f("product_thumb_image") ? $dbp->f("product_thumb_image") : $db_product->f("product_thumb_image"); // Change /* MORE IMAGES ??? */ $files = ps_product_files::getFilesForProduct($product_id); $more_images = ""; if (!empty($files['images'])) { $more_images = $tpl->vmMoreImagesLink($files['images']); } // Does the Product have files? $file_list = ps_product_files::get_file_list($product_id); $product_availability = ''; if (@$_REQUEST['output'] != "pdf") { // Show the PDF, Email and Print buttons $tpl->set('option', $option); $tpl->set('category_id', $category_id); $tpl->set('product_id', $product_id); $buttons_header = $tpl->fetch('common/buttons.tpl.php'); $tpl->set('buttons_header', $buttons_header); // AVAILABILITY // This is the place where it shows: Availability: 24h, In Stock: 5 etc. // You can make changes to this functionality in the file: classes/ps_product.php $product_availability = $ps_product->get_availability($product_id); } $product_availability_data = $ps_product->get_availability_data($product_id); /** Ask seller a question **/