Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i missed some fields #5

Open
csalazart opened this issue May 2, 2019 · 1 comment
Open

i missed some fields #5

csalazart opened this issue May 2, 2019 · 1 comment

Comments

@csalazart
Copy link

Its Awesome the module.. can get any all info but i miss some..
the product currency type and the deliveryCost, delivery time and delivery type. i try my own but yours its better...
i try this..
info['priceCurrency'] = clearStr($('[itemprop="priceCurrency"]').text());
info['priceCurrencyCODE'] = clearStr($('[itemprop="priceCurrency"]').attr('content'));
info['deliveryCost'] = clearStr($('.logistics-cost').text());
info['deliveryTime'] = clearStr($('.shipping-days').text());
i hope you can implement this on your module to compleit..
now i just add that info on the rest json data..
Thanks was very usefull.. i pass several days trait to get that info ....

@nesilvacr
Copy link

Hola CSalazart, gracias por tu aporte. Pensaba que talvez podrias darme una ayuda, estoy teniendo problemas al ejecutar el script con el mensaje:
TypeError: Cannot read property '1' of null
Veo que ya lo has resuelto, como le hicistes, podrias compartir por favor ?

Muchas gracias de adelantado

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants