Add more ID of a program
$10-30 USD
Płatność przy odbiorze
Hello to all!
The Plugin is Yith Compare for Wordpress.
I have read a lot of good documentation and are days that I'm trying to solve this problem that is unsolvable for me.
The documentation says that if you want to add a fixed number of ID must use the the shortcode [yith_compare_button product = ""]
Using this code, everything works fine, for example, if I want to use the code 878 just put [yith_compare_button product = "878"] and everything works perfectly. The huge problem is when I have to add more than one ID.
I tried in every way possible and imaginable to add more than one ID and I can not find the way. Commas, colons, brackets, no, no way.
I then tried to go into PHP to try to understand where you can directly edit the script by adding it directly to them, and I think I found the correct line where to do so (correct me if I'm wrong)
public function add_product_to_compare ($ product_id) {
$ product = get_product ($ product_id = "878");
Here too the exact same problem, I can add only ONE ID, and not more than one, really do not know how to do, I ask you to help me kindness because I do not know what to invent, thank you very much.
My intention is just to add more than one ID in the same comparison program to be fixed.
Numer ID Projektu: #4856213