我们只运送到28个欧盟国家+ EEA,并想知道是否有办法减少结账时的客户目前从全球列表中选择的结果列表.
非常感谢!
ps在"配置"菜单中选择"运送到特定国家/地区"没有太大区别.
这段代码:
$page = $this->newPage();
Run Code Online (Sandbox Code Playgroud)
已被这个取代:
$pdf->pages[] = $pdf->newPage('4:6:');
Run Code Online (Sandbox Code Playgroud)
但结果是:
致命错误:未找到类'Zend_Pdf_Color_RGB'app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php
请告诉我如何减少magento中pdf的页面大小?
我们正在使用Magento 1.9.1.1,并且我们的网上商店已经静默处理很多订单。但是,当在管理面板的顶部栏中导航到“报告”,然后选择时Sales -> Reports,所有报告都完全为空。没有空行或空行,绝对没有行。
我们也已经尝试了不同的方法来解决此问题,可以通过google找到:
UPDATE sales_flat_order_item SET store_id=2 WHERE store_id IS NULL;没有任何帮助!
有什么建议吗?
最好的问候亚历克斯
我在我的网站上遇到了一个严重的问题.我已经从系统配置开发人员中启用了合并CSS和JS,并且在我保存之后.我的网站对齐出错了,我现在无法修复它.我已经尝试恢复所有files.NOT FIXED我已经创建了一个新数据库并导入了旧数据库,并在local.xml.STILL NOT FIXED中更改了它们.我已经清除了缓存和会话.还没有修复.
我使用此代码显示Magento商店内的价格:
<?php
$myPrice = $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false);
$zeros = substr($myPrice, -2);
if(strval($zeros) == "00") {
$myPrice = substr($myPrice, 0, -2);
$myPrice = $myPrice . '-';
}
echo '<span class="price">'.$myPrice.'</span>';
?>
Run Code Online (Sandbox Code Playgroud)
但我也想从这个字符串中删除€符号.
我该如何解决这个问题?
我似乎在Magento上有索引问题.所有可用的索引索引都很好,除了一个:
Sm Shopby
通过以下错误编制索引时,我无法完全看出问题所在.
Sm Shopby index process unknown error:
exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column '`main_table`.`frontend_input`' in 'where clause'' in /var/www/vhosts/domain/sub-domain/lib/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /var/www/vhosts/domain/sub-domain/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /var/www/vhosts/domain/sub-domain/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#2 /var/www/vhosts/domain/sub-domain/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#3 /var/www/vhosts/domain/sub-domain/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#4 /var/www/vhosts/domain/sub-domain/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#5 /var/www/vhosts/domain/sub-domain/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#6 /var/www/vhosts/domain/sub-domain/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `main_ta...', Array)
#7 /var/www/vhosts/domain/sub-domain/lib/Varien/Data/Collection/Db.php(740): Zend_Db_Adapter_Abstract->fetchAll('SELECT `main_ta...', Array)
#8 /var/www/vhosts/domain/sub-domain/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(521): Varien_Data_Collection_Db->_fetchAll('SELECT `main_ta...', Array)
#9 /var/www/vhosts/domain/sub-domain/lib/Varien/Data/Collection/Db.php(572): Mage_Core_Model_Resource_Db_Collection_Abstract->getData()
#10 /var/www/vhosts/domain/sub-domain/lib/Varien/Data/Collection.php(741): Varien_Data_Collection_Db->load()
#11 /var/www/vhosts/domain/sub-domain/app/code/local/Sm/Shopby/Model/Resource/Indexer/Attribute.php(29): Varien_Data_Collection->getIterator()
#12 /var/www/vhosts/domain/sub-domain/app/code/local/Sm/Shopby/Model/Resource/Indexer/Attribute.php(20): Sm_Shopby_Model_Resource_Indexer_Attribute->reindexSeoUrlKeys()
#13 /var/www/vhosts/domain/sub-domain/app/code/core/Mage/Index/Model/Indexer/Abstract.php(143): …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用magento 2命令行实用程序安装示例数据.但是从php命令行运行"php magento sampledata:deploy"时会出现打击错误.
致命错误:第230行的sionParser.php中允许的内存大小为134217728个字节(尝试分配8388608个字节)
有人遇到类似错误吗?请建议我如何解决它.
我尝试在PHP 7.0.4上的Magento 1.9.2.4上安装插件.
所有普通插件都有相同的错误消息:
requires PHP version >= 5.2.13 and <= 5.7.0 current is: 7.0.4
Run Code Online (Sandbox Code Playgroud)
商店运行一个小错误修复罚款.但没有插件就没用了.
谢谢.
我在Magento中添加了产品并正确配置了它们的数量,.等等,但在前端,产品显示缺货.我将其数量设定为50,相应地定价并将其标记为库存,但它们在前端显示缺货.
谁能告诉我我错过了什么?
在Magento 2.0中,默认情况下分层导航全部折叠,但第一个过滤器除外,这对我来说是价格.如何展开所有过滤器,以便在所有过滤器类别中都显示每个过滤器选项?
我在代码中看到aria-expanded ="false",在HTML的某个地方有class ="filter-options-content",style ="display:none;"
有谁知道在哪里编辑这个?