public function add_product_designer_form()
        {
            global $post;
            $product_settings = new FPD_Product_Settings($post->ID);
            $open_in_lightbox = $product_settings->get_option('open_in_lightbox') && trim($product_settings->get_option('start_customizing_button')) != '';
            if (is_fancy_product($post->ID) && (!$product_settings->customize_button_enabled || $open_in_lightbox)) {
                ?>
				<input type="hidden" value="" name="fpd_product" />
				<input type="hidden" value="" name="fpd_product_price" />
				<input type="hidden" value="" name="fpd_product_thumbnail" />
				<input type="hidden" value="<?php 
                echo isset($_GET['cart_item_key']) ? $_GET['cart_item_key'] : '';
                ?>
" name="fpd_remove_cart_item" />
				<?php 
            }
        }
        public function enqueue_styles()
        {
            global $post;
            if (fpd_get_option('fpd_sharing')) {
                wp_enqueue_style('fpd-jssocials');
            }
            wp_enqueue_style('jquery-fpd');
            wp_enqueue_style('fpd-single-product', plugins_url('/css/fancy-product.css', FPD_PLUGIN_ROOT_PHP), false, Fancy_Product_Designer::VERSION);
            //only enqueue css and js files when necessary
            $product_settings = new FPD_Product_Settings($post->ID);
            if (is_fancy_product($post->ID)) {
                ?>
					<style type="text/css">

						/* Styling */

						.fancy-product .fpd-primary-bg-color {
							background-color: <?php 
                echo fpd_get_option('fpd_designer_primary_color');
                ?>
;
						}

						.fancy-product .fpd-primary-text-color,
						.fancy-product .fpd-primary-text-color:hover {
							color:  <?php 
                echo fpd_get_option('fpd_designer_primary_text_color');
                ?>
;
						}

						.fancy-product .fpd-secondary-bg-color {
							background-color: <?php 
                echo fpd_get_option('fpd_designer_secondary_color');
                ?>
 !important;
						}

						.fancy-product .fpd-secondary-text-color,
						.fancy-product .fpd-secondary-text-color:hover {
							color:  <?php 
                echo fpd_get_option('fpd_designer_secondary_text_color');
                ?>
 !important;
						}

						.fancy-product .fpd-tabs > .fpd-btn.fpd-checked {
							border-color: <?php 
                echo fpd_get_option('fpd_designer_secondary_color');
                ?>
;
						}

						.fancy-product .fpd-checked i {
							color: <?php 
                echo fpd_get_option('fpd_designer_secondary_color');
                ?>
 !important;
						}

						<?php 
                if ($product_settings->get_option('background_type')) {
                    ?>
						.fpd-product-stage {
							background: <?php 
                    echo $product_settings->get_option('background_type') == 'color' ? $product_settings->get_option('background_color') : 'url(' . $product_settings->get_option('background_image') . ')';
                    ?>
 !important;
						}
						<?php 
                }
                ?>


						<?php 
                echo stripslashes(get_option('fpd_custom_css'));
                ?>

					</style>
					<?php 
                FPD_Fonts::output_webfont_links();
            }
        }