AbanteCart Community
AbanteCart Development => Extensions and Add-Ons => Topic started by: classicer on April 01, 2014, 05:47:04 PM
-
I'm curious why AbanteCart make these extensions available when they are incomplete and simply do not work.
No images get to Google merchant center, availability and product category attributes missing
image link in the feed is set to "<g:image_link>../image/thumbnails/no_image-500x500.jpg</g:image_link>" on all products
Remove the extension or fix it
Gnel
-
This is third party extension, but let us check what is happening.
-
Look forward to the fix asap as my merchant account feeds are pending approval by Google specialist because of these, if it requires a compensation to expedite the fix on your side simply send me pm.
Gnel
-
please replace file /extensions/google_base/storefront/controller/responses/extension/google_base.php by attached and let me know about result
-
Great Dmitriy, all images are in thanks to you!
And last, all of my products are under "promotions" special price, yet feed generates the original price
I have spend some time trying to figure out how to get the specials promo price into '<g:price>' output instead of the original price in the php file with no luck
Wonder what should be updated below to make it function
$special = $this->model_catalog_product->getProductSpecial($product['product_id']);
if ($special) {
$response .= '<g:price>' . $this->tax->calculate($special, $product['tax_class_id']) . '</g:price>';
} else {
$response .= '<g:price>' . $this->tax->calculate($product['price'], $product['tax_class_id']) . '</g:price>';
Thank you!
-
i refill file to post above.. replace again:)
-
Same, does not get any price in
-
hm..did you cleared cache?
i see price inside xml
-
Tax Class: is set to none on all products as I do not charge sales tax maybe that's why it is preventing final_price to get into <g:price>?
since the php calculation code includes a tax class
$response .= '<g:price>' . $this->tax->calculate($product['final_price'], $product['tax_class_id']) . '</g:price>';
-
Tax Class: is set to none on all products as I do not charge sales tax maybe that's why it is preventing final_price to get into <g:price>?
since the php calculation code includes a tax class
$response .= '<g:price>' . $this->tax->calculate($product['final_price'], $product['tax_class_id']) . '</g:price>';
no. i changed tax class to "none" too and it works..
mmmm... can you paste var_dump($product); exit;
inside loop and post output here?
to see result just go to your url http://your_domain_here/index.php?rt=extension/google_base
-
Any update on getting the final_price in Dmitriy as there is none in the dump
may it be those are price_num or special_num?
Thanks!
Gnel