Reviews and deataching of scripts issues
-
Hi, so I have 2 issues to be resolved at this moment, i′ll try to explain the bes I can.
1. The function wcmp_get_vendor_review_info() seems to return the default array of reviews : array(2) { [“total_rating”]=> int(0) [“avg_rating”]=> int(0) } in both single product page and vendor page, but returns the correct values when called from a custom page. I′ve tested the variable passed in both 3 files and is the same, an integer with the id of the vendor, I′ve checked the class and can′t get why is ignoring that value, given that the function is calling (it returns the default) and the variable passed is correct.
2. I have other issue regarding the script deatachment called in vendor dashboard, it′s deactivating the scripts associated with Popup maker, wich I need in dashboard for a tutorial on creating products, also, it somehow gets in conflict with some theme scripts, and both profile dropdown and media upload scripts have some problems, one doesn′t open on click and the other shows incorrectly (I think this is because it interferes with some script associated to my theme). If I disable the deataching of scripts, media upload works correctly, but, as expected, there are tons of other problems associated with this.The page I need help with: [log in to see the link]
- The topic ‘Reviews and deataching of scripts issues’ is closed to new replies.