mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 22:26:19 +00:00
coto: corregir chequeo instock
This commit is contained in:
parent
da9f2c8348
commit
a322bc36fc
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ function getPriceFromText({ document }: Window) {
|
||||||
return parseFloat(nStr) * 100;
|
return parseFloat(nStr) * 100;
|
||||||
}
|
}
|
||||||
function getInStock({ document }: Window) {
|
function getInStock({ document }: Window) {
|
||||||
return !document.querySelector("product_not_available");
|
return !document.querySelector(".product_not_available");
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getCotoProduct(html: string | Buffer): Precioish {
|
export function getCotoProduct(html: string | Buffer): Precioish {
|
||||||
|
|
Loading…
Reference in a new issue