Forum Replies Created
-
Hi,
Please change custom code in file “dhvc-woocommerce-page/includes/shortcode.php” line #227:
change form :
public function woocommerce_single_product_image_thumbnail_html($html,$attachment_id, $post_id, $image_class){to :
public function woocommerce_single_product_image_thumbnail_html($html,$attachment_id, $post_id, $image_class=”){
in reply to: Error on pages which have gallery imagesHi,
Please go to file “dhvc-woocommerce-page/dhvc-woocommerce-page.php” line #166 and search code:
if($wpb_custom_css = get_post_meta( $product_template_id, '_wpb_post_custom_css', true )){
and replace with:
if($wpb_custom_css = get_post_meta( $product_template_id, '_wpb_shortcodes_custom_css', true )){
in reply to: Need help to custom CSSTes. In Visual Composer (VC) when you custom css in settings. it’ll auto create class to apply css settings. example: you can change ROW background in row setting to background color: #dd3333. it’s auto create class “vc_custom_1413994407019” and add css background. and it’s only work with current page. if you want custom css for all page . please add Extra class name for row . then add custom css for Extra class name
in reply to: Need help to custom CSSHi,
Visual Composer in Salient theme is include in theme. please go to file “wp-content/plugins/dhvc-form/includes/admin.php” search and replace code:
if(post_type_exists(‘dhvcform’)){
$pt_array = ( $pt_array = get_option( ‘wpb_js_content_types’ ) ) ? ( $pt_array ) : array( ‘page’ );
if(!in_array(‘dhvcform’, $pt_array)){
array_push($pt_array,’dhvcform’);
update_option(‘wpb_js_content_types’, $pt_array);
}}
replace with:
if(post_type_exists(‘dhvcform’)){
$pt_array = ( $pt_array = get_option( ‘wpb_js_theme_content_types’ ) ) ? ( $pt_array ) : array( ‘page’ );
if(!in_array(‘dhvcform’, $pt_array)){
array_push($pt_array,’dhvcform’);
update_option(‘wpb_js_theme_content_types’, $pt_array);
}}
in reply to: Cannot see the composer in the forms pluginHi,
In template the plugin not trigger
do_action( ‘woocommerce_before_single_product_summary’ );because i trigger it via shortcode in visual composer. example: in single product woocommerce show product image with do_action(‘woocommerce_before_single_product_summary’) hook,
but in my plugin. product image show with shortcode. if i add do_action(‘woocommerce_before_single_product_summary’) in my plugin. singple product image will duplicate.For fancy product design . You can add add 3 shortcode for Fancy Product Designer :
1.Woo Single Product Designer
2.Woo Single Customize Button
3.Woo Single Product Designer Formin reply to: Problem while using the pluginHi,
I go to check your site and find your problem is conflict css, please add custom css in your site:
.woocommerce div.product .thumbnails-ul img,
.woocommerce-page div.product .thumbnails-ul img,
.woocommerce #content div.product .thumbnails-ul img,
.woocommerce-page #content div.product .thumbnails-ul img{
display: inline-block !important;
width: auto !important;
}in reply to: Need help to custom the product image and thumbnailYou can solve the problem by adding “woosingle product description” in a ‘expendable’ row
Yes, with DHVC Woocommerce Products Layouts plugin, you can create products carousel block very easily. also, you can display product with : Up-Sells Product,Cross-Sells Product, Related Product or Build query with option…
Hi,
We checked your site. Your site has 3 layout for single product. Please go to file “wp-content/plugins/dhvc-woocommerce-page/dhvc-woocommerce-page.php” search and replace code:
if($slug === ‘content’ && $name === ‘single-product’){…
with:
if($slug === ‘content’ && ($name === ‘single-product’ || $name === ‘single-product-rightcol’ || $name === ‘single-product-leftcol’)){
in reply to: Plugin is not working on my online storeHi,
DHVC Form plugin have included languages file .po . you can tranlstate is or you can use Submit button with shortcode:
in reply to: How to change the button text?Hi,
I go to check your site. It use image form docs.google.com, my plugin only resize image on your hosting.
in reply to: Have problem when resize imagePlease go to menu “Settings -> Visual Comporser” and enable all shortcode for visual composer config
in reply to: Cannot add shortcodes to the visual composerPlease go to file “wp-content/plugins/dhvc-woocommerce/assets/css/style.css” and add custom css to bottom of file to check:
.dhvc-woo-info .dhvc-woo-title{ line-height: 18px !important; margin: 0 0 10px !important; }
Then clear cache so that you can see how it works
in reply to: Need help to customize the CSSPlease go to file “wp-content/plugins/dhvc-form/dhvc-form.php” line #506 and change code:
foreach ($form_controls as $form_control){
$email_data_key = !empty($form_control->control_label) ? $form_control->control_label : $form_control->control_name;
$email_data_key = ucfirst($email_data_key);to:
foreach ($form_controls as $form_control){
if($form_control->tag == ‘dhvc_form_submit_button’)
continue;
$email_data_key = !empty($form_control->control_label) ? $form_control->control_label : $form_control->control_name;
$email_data_key = ucfirst($email_data_key);in reply to: Have a bug while using this plugin in ajax modePlease add custom css in your site:
.dhvcform .dhvc-form-inner .wpb_column{
margin-bottom: 20px;
}