• Resolved yuliandesign

    (@yuliandesign)


    First of all I want to thank you for this plugin.

    Secondly, I want to report that some customization options are not working. For example the font size option or the option to set custom width and height, do not work in the general styles and in the global styles overriding options.

    WordPress 6.1.1
    Astrapro 3.9.3

    I attach images in the following link: https://ibb.co/1XjGS5s
    https://ibb.co/C9mwLsZ`

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @yuliandesign,

    You have set the custom font size for ‘Shop page styling and the ‘Global styling’ but the settings do not reflect on your webpage.

    Can you please share your website URL with us so that we can look into the styling on the webpage?

    Looking forward to hearing from you.

    Thread Starter yuliandesign

    (@yuliandesign)

    Hello @bhshravankumar

    https://yuliand12.sg-host.com/

    • This reply was modified 2 years, 4 months ago by yuliandesign.
    Plugin Support Aamir

    (@aamiribsf)

    Hello @yuliandesign,

    Thanks for writing back.

    Can you please check if the default shape is selected for that attribute in the WooCommerce attribute settings?

    Please go to the WooCommerce attribute settings and see if the shape setting is set as the default for the attribute.

    Please see this screenshot:https://d.pr/i/fg1Q7L.
    If the shape is set to default, the swatch settings in the shop/ product page should work.

    If the specific shape is set there for an attribute like square, circle, or rounded, then it will take settings from attribute settings. In this case, You will see the size option below there.

    Please see this screenshot:https://d.pr/i/iKOmbS.

    I hope this helps. Looking forward to hearing from you.

    Thread Starter yuliandesign

    (@yuliandesign)

    Hi @aamiribsf Indeed, I have selected the Default option in the Attributes options and the styles of the plugin configuration have been loaded.

    I have one last question:
    In which section can I write to request development information to add functions?
    It happens that I have developed a javascript code so that when I click on the variation, it takes me directly to the single of the product with that variation already selected. The code works but it does too much processing, I would like to be able to do it the right way.

    <script type="text/javascript">
              // your javscript code goes here
              // a
             
    			const sbd_swatches = document.getElementsByClassName('cfvsw-image-option');
    			console.log(sbd_swatches);
    			
    			for (let i = 0; i < sbd_swatches.length; i++) {
    				
    				
    				console.log(sbd_swatches);
    			
    				
    						  	sbd_swatches[i].addEventListener('click', function(e) {
    
    							const sbd_selected_swatche = e.target.parentElement;
    							const sbd_container = sbd_selected_swatche.parentElement.closest('li');
    							const sbd_li = sbd_container.getElementsByClassName("ast-loop-product__link")[0];
    
    							const sbd_product_url =	sbd_li.href;
    
    							const sbd_selected_language = sbd_selected_swatche.getAttribute("data-slug");
    							const sbd_url = sbd_product_url+'?attribute_pa_language='+sbd_selected_language;
    
    							window.location.href = sbd_url;
    						});
    				
    				
    			}
    			
            </script>
    • This reply was modified 2 years, 4 months ago by yuliandesign.
    Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @yuliandesign,

    Our developers have checked the script and they feel this is fine, please add this code to a code snippet plugin and check how it works.

    Hope this helps.

    Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customization options don’t work’ is closed to new replies.