// ===== PRODUCT PDF VIEW WITH BUTTON & CUSTOM COLORS ===== // 1️⃣ Add the PDF button after Add to Cart add_action('woocommerce_single_product_summary', function() { global $product; if (!$product) return; $pdf_url = add_query_arg('generate_product_pdf', $product->get_id(), home_url('/')); echo '
'; echo 'Download Product Sheet'; echo '
'; // Inline hover effect echo ''; }, 35); // 2️⃣ Generate PDF in browser when button clicked add_action('init', function() { if (!isset($_GET['generate_product_pdf'])) return; $product_id = intval($_GET['generate_product_pdf']); $product = wc_get_product($product_id); if (!$product) { wp_die('Invalid product.'); } // Load Dompdf library require_once WP_CONTENT_DIR . '/plugins/dompdf/autoload.inc.php'; $options = new Dompdf\Options(); $options->set('isRemoteEnabled', true); $options->set('defaultFont', 'dejavusans'); $dompdf = new Dompdf\Dompdf($options); // Product details $title = $product->get_name(); $price = wc_price($product->get_price()); $short_desc = $product->get_short_description(); $description = $product->get_description(); $image_id = $product->get_image_id(); $image_url = wp_get_attachment_url($image_id); // Company logo $logo_url = 'https://kaiyaan.com/wp-content/uploads/2025/08/Footer-Logo.png'; // Change to your logo URL // Build HTML for PDF $html = '
Company Logo
' . esc_html($title) . '
' . esc_attr($title) . '
Price: ' . $price . '
'; if ($short_desc) { $html .= '
' . wp_kses_post($short_desc) . '
'; } if ($description) { $html .= '
' . wp_kses_post($description) . '
'; } $html .= ' '; $dompdf->loadHtml($html); $dompdf->setPaper('A4', 'portrait'); $dompdf->render(); // Open PDF in browser (Attachment false) $dompdf->stream($title . "-sheet.pdf", array("Attachment" => false)); exit; }); Philips Glide Pedestal light - kaiyaan

Philips Glide Pedestal light

Original price was: ₹7,440.00.Current price is: ₹7,340.00.

Product details:

Material: Aluminium
Colour: Black
Dimensions (mm): 156x156x600
Lamp Base: E27
Wattage: 1x9W Max
Lumen/CCT:
SKU: KGL004 Category:

ADDITIONAL INFORMATION:

BRAND, PHILIPS

Reviews

There are no reviews yet.

Be the first to review “Philips Glide Pedestal light”

Your email address will not be published. Required fields are marked *

×

💡 Get Your Free Lighting Guide

×

Thank You! 🎉

Your guide has been sent to your email.
Scratch below to reveal your exclusive coupon!

KAIYAAN10