I need to create a class that, when placed in a Visual Composer Grid that currently brings Woocommerce products of a certain category to the carousel, will do the following:
1. Will check the amount of people that have currently purchased that product.n (ex. 25)
2. Will check the amount of product available for sale originally (ex. 360)
3. Will calculate current percentage (ex, 25/360 = .069444 so its 6.9%)
4. Will compare that percent with the percent on the product custom field named "Porciento para establecer como cerrado".
5. If the current percent is equal or bigger than the percent on the product custom field named "Porciento para establecer como cerrado", then allow the product to be displayed.
Hi
I think I'm getting a bit of understanding the thing you want to achieve. This is some sort of customization to your products. Looking forward you to stay in touch so I can understand a bit more and make it done for you. Thanks in advance.
I can definitely do this job but my first concern is budget allocated for custom coding. Yes this price is okay for a regular developer but what about the new developer who is looking your ecommerce store first time.
Another thing about the work i can implement this dynamic logic for carousel in visual composer.
- We can implement this using child theme so our main theme's functionality won't be get affected by any bug or new update by theme provider
- where is custom field will be stored ? I mean page's custom field or something else ?
- I need to take a look for your woocommerce website
let's talk and move forward
skype: vaibhavjain339