codesalsa / Wooshop-Starter

Codesalsa Wooshop Starter is a Phonegap based Hybrid E-commerce App for IOS, Android platform built with AngularJS, IONIC Framework and Woocommerce REST API
38 stars 28 forks source link

Woo connection issue #2

Open neroshin opened 7 years ago

neroshin commented 7 years ago

Hi folk , I got some issues within loading the of app I'm trying to connect the app to woocommerce in end i've eccountered an issues in javascipt ,somebody here would like to help me. http://prntscr.com/g6ocvx

devthedeveloper commented 7 years ago

Add the header function to allow cross origins in API.php. header("Access-Control-Allow-Origin: *"); add this to top of API.php.

aikusuma commented 6 years ago

hey dev, crossorigin.me is down. any solution? and can i try on localhost?

here's the result https://i.imgur.com/hxc6yOC.png

AltisCANNIBAL commented 6 years ago

crossorigin.me not work. app clear plz, fix it

devthedeveloper commented 6 years ago

Why you need crossorigin.me??

AltisCANNIBAL commented 6 years ago

because you wrote in the instructions:

In settings.js file, at line No. 3 change the YOUR_WOOCOMMERCE_STORE_URL with your actual store url. https://crossorigin.me/http://YOUR_WOOCOMMERCE_STORE_URL/mobileAPI

how to make it so that the application would be filled with the contents of my store?

nabilzidane commented 6 years ago

Hi, the website https://crossorigin.me is down, So you can change it by the new one https://cors-anywhere.herokuapp.com