Php 马根托2号及;Amasty提要扩展-缺少产品

Php 马根托2号及;Amasty提要扩展-缺少产品,php,magento,magento2,Php,Magento,Magento2,我们目前有一个Magento 2安装,改动很小(基本上还是Luma)。最显著的区别是我们创建了自己的导入模块,用于通过XML导入产品 这一切似乎都很好,我们可以在前端看到我们的产品。但是,在自动生成的google提要(由Amasty提要扩展创建)中,缺少部分/大部分产品数据。其中一些在Magento的后端也不可见。我不知所措。我不知道问题是出在我们自己的导入模块还是Amasty的扩展上 我已经检查了Amasty模块、magento产品信息(库存、数量、价格、可用性、可见性)的配置,看起来一切正常

我们目前有一个Magento 2安装,改动很小(基本上还是Luma)。最显著的区别是我们创建了自己的导入模块,用于通过XML导入产品

这一切似乎都很好,我们可以在前端看到我们的产品。但是,在自动生成的google提要(由Amasty提要扩展创建)中,缺少部分/大部分产品数据。其中一些在Magento的后端也不可见。我不知所措。我不知道问题是出在我们自己的导入模块还是Amasty的扩展上

我已经检查了Amasty模块、magento产品信息(库存、数量、价格、可用性、可见性)的配置,看起来一切正常。我们用于Amasty提要的模板如下(基于预安装的模板)

{attribute=“basic | sku”format=“as_is”parent=“no”modify=”“}
{attribute=“product | name”format=“as_is”parent=“no”modify=“html_escape”}
{attribute=“product | description”format=“as_is”parent=“no”modify=“html_escape | length:500”}
{attribute=“category | category”format=“as_is”parent=“no”modify=“html_escape”}
{attribute=“url | short”format=“as_is”parent=“no”modify=”“}
{attribute=“image | image”format=“as_is”parent=“no”modify=”“}
新的
{attribute=“inventory | is|u stock”format=“as|u is”parent=“no”modify=“replace:1^库存| replace:0^缺货”}
{attribute=“price | final_price”format=“price”parent=“no”modify=”“}
{attribute=“product | manufacturer”format=“as_is”parent=“no”modify=“html_escape”}
{attribute=“product | manufacturer”format=“as_is”parent=“no”modify=“html_escape”}
英国
0
N
英国
{attribute=“product | price”format=“price”parent=“no”modify=”“}
真的
{attribute=“product | ean”format=“as_is”parent=“no”modify=“html_escape”}
{attribute=“product | mpn”format=“as_is”parent=“no”modify=“strip_tags”}

服务器或magento日志中似乎没有任何与此相关的错误。

Amasty Feed extension从产品索引中获取有关价格、可用性等的数据。这意味着您的索引应该正常工作,以便正确生成提要

更重要的是,你应该检查哪些产品的信息丢失。禁用的项目可能会发生这种情况,因为一旦禁用,Magento将停止向索引添加其属性。因此,很有可能您没有使用过滤器仅为启用的产品生成产品提要


如果您仍有疑问,请随时询问我们的支持团队

reduild cache?部署静态内容?magento处于开发模式?@bxN5重建、部署、重新索引,是的,它处于开发模式。也不要使用平面表格。不要信任Amasty扩展。它们的扩展中有最差的代码。这是我从Magento团队得到的反馈。嗨,谢谢你的回答。我确实已经向支持团队发帖,他们现在正在关注此事。不幸的是,这些产品已启用,索引也正常(目录规则除外,单独发布)
    <g:id>{attribute="basic|sku" format="as_is" parent="no" modify=""}</g:id>
<title>{attribute="product|name" format="as_is" parent="no" modify="html_escape"}</title>
<description>{attribute="product|description" format="as_is" parent="no" modify="html_escape|length:500"}</description>
<g:product_type>{attribute="category|category" format="as_is" parent="no" modify="html_escape"}</g:product_type>
<link>{attribute="url|short" format="as_is" parent="no" modify=""}</link>
<g:image_link>{attribute="image|image" format="as_is" parent="no" modify=""}</g:image_link>
<g:condition>New</g:condition>
<availability>{attribute="inventory|is_in_stock" format="as_is" parent="no" modify="replace:1^In Stock|replace:0^Out of Stock"}</availability>
<price>{attribute="price|final_price" format="price" parent="no" modify=""}</price>
<g:brand>{attribute="product|manufacturer" format="as_is" parent="no" modify="html_escape"}</g:brand>
<g:google_product_category>{attribute="product|manufacturer" format="as_is" parent="no" modify="html_escape"}</g:google_product_category>
<g:tax>
 <g:country>UK</g:country>
 <g:rate>0</g:rate>
 <g:tax_ship>n</g:tax_ship>
</g:tax>
<g:shipping>
 <g:country>UK</g:country>
<g:price>{attribute="product|price" format="price" parent="no" modify=""}</g:price>
</g:shipping>
<g:identifier_exists>TRUE</g:identifier_exists>
<gtin>{attribute="product|ean" format="as_is" parent="no" modify="html_escape"}</gtin>
<g:mpn>{attribute="product|mpn" format="as_is" parent="no" modify="strip_tags"}</g:mpn>