i want to ask for you,
I want to use the multiplication formula, for example (fieldname1*fieldname2) results in (fieldname3)
but, in fieldname3
when result
– 1,000.69 is shown 1,001
– 1,000.79 is shown 1,001
– 1,000.89 is shown 1,001
– 1,000.99 is shown 1,001
when 1,000.68 is shown 1,000
– 1,000.59 is shown 1,000
– 1,000.49 is shown 1,000
– 1,000.39 is shown 1,000
– 1,000.29 is shown 1,000
– 1.000.19 is shown 1,000
– 1,000.09 is shown 1,000
how i write this formula?
thx
]]>I’m using the following piece of code based on the one I found here to round down prices:
add_filter('woocs_raw_woocommerce_price', function($price) {
return 100 * floor($price / 100); // redondea para abajo en 100
});
add_filter('woocs_woocommerce_variation_prices', function($price) {
return 100 * floor($price / 100);
});
but I need to exclude external products from this. Is there a way to do it?
I tried using if( $product->is_type( 'external' )
but I’m getting PHP errors.
I’m considering to buy the pro version and would like to know if it gives the opportunity to round the result up or down and how it works.
]]>I want to rounded down to one significant figure. It is the quantity of goods.
2.9=2pcs 2.1=2pcs
regards,
https://www.ads-software.com/plugins/calculated-fields-form/
]]>A client of mine purchased this GorillaThemes Dancefloor theme for me to alter/configure for them. They didn’t buy any support with their purchase, so I’m kinda left having to figure this out.
DEMO HERE: Dancefloor WordPress Theme
1) I would like the home page to look reminiscent to the home/main page of the demo. I figured that by going into “Settings>Reading” and setting the static Front and Posts page that everything would set itself up correctly like it normally does. That’s FAR form the case. It’s like they’re setting you up to fail without purchasing their support plan.
When I set the static Home Page, this is what I get:
Funky Home/Front Page
And when I set the static Posts Page, this is what I get:
Funky Blog/Posts Page
I’m still fairly new to WordPress, and need a bit of help moving things around. I would like for the Home/Front Page to have in this order from top to bottom the:
And I’d like the Blog/Posts page to JUST display the posts.
I’m gonna list the PHP for each respective page, so can someone please give me a quick run through of what to add, delete or keep?
page.php (seems to be the blog/posts page still):
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
]]>I have just purchased the Dancefloor_v1.0.zip theme. I am using a private hosting provider so I can upload my theme. I have’t had any issues until I tried uploading Dancefloor. When I use the upload form on www.ads-software.com, it says that the system aborted the upload and when I use my ftp upload, the upload finished but the theme isn’t there in my /public_html/wp-content/themes. What should I do? I have a client that wants this theme but I can’t figure out why this theme won’t work with me.
If I didnt make sense please let me know.
Thanks!
]]>thanks
]]>