Tagged: x
-
AuthorPosts
-
July 15, 2016 at 9:36 pm #1089431
Rue NelModeratorHello Again,
Thanks for the updates! Do you have any custom woocommerce templates? Or any other template customization? Would you mind providing us the url of your site with login credentials so we can take a closer look and fix the issue? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP Hostname
– FTP Username
– FTP PasswordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
July 16, 2016 at 9:01 am #1089847
pdopchevParticipantThis reply has been marked as private.July 16, 2016 at 2:41 pm #1090024
pdopchevParticipantA quick update: just added an additional line of code so the “Skier Form” button only shows on certain products. The issues still persists, but it is there only on specific products.
Example:
no issue (no button): http://www.dopchevproductions.com/test/product/the-80/
layout distortion: http://www.dopchevproductions.com/test/product/the-80-custom/current code for the button:
// ============================================================================= // Additional Button On Product Page with a Form Pop Up in a Lightbox // ============================================================================= add_action('woocommerce_single_product_summary','cmk_additional_button', 40); function cmk_additional_button() { $product_ids = array(645,988,1207,1214,1226,1242,1254,1261,1271); if(in_array(get_the_ID(),$product_ids)) { echo '<div class="mtm mbm">'; echo '<a href="#my-content" class="product_lightbox x-btn" data-content="Launch form!" data-type="inline">Skier Form</a>'; echo '</div>'; echo '<div id="my-content" style="display: none; width: 1200px; ">'; echo do_shortcode( '[contact-form-7 id="1024" title="Skier Form"]'); echo '</div>'; echo do_shortcode( '[lightbox selector=".product_lightbox"]' ); } }July 16, 2016 at 5:52 pm #1090127
RadModeratorHi there,
Your form content has no proper closing.
<div class="x-column x-1-1 x-sm">[checkbox* your-shape-interest "The 80" "94" "100" "106"] <div class="x-column x-1-1 x-sm">[checkbox* your-shape-interest "120" "115 Twin" "Pin Tail" "FH" ] </div>Missing one
</div>, I went ahead and fixed it. Cheers!July 19, 2016 at 12:03 pm #1093849
pdopchevParticipant@Rad, thanks a lot of the help! I was banging my head to figure out what the reason was…
Highly appreciate it!
July 19, 2016 at 12:11 pm #1093866
JoaoModeratorGlad to hear we managed to help.
Let us know if you have any questions.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1080880 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
