I have a site in magento that receives a lot of traffic, due to this an autoscaling was configured within aws, the site is in an ec2. Due to this, when one of the instances does not support the traffic, the next one is activated, but I have an error […]
Magento
I noticed that I cannot see anymore my pictures of my slider on my website https://agoshop.at/algenentferner/ only the points. I use the slider SLAVA YURTHEV. Here my code: <p>{{widget type="SYSliderBlockWidget" ids="3,5,7,9,11,13,15,17,19,21"}}</p> Also I noticed is, that I cannot acitvate the Page Cache and WeltPixel GoogleTagManager Categories Cache. But I don’t […]
Before indexing event is saved, Magento 1 tries to find an existing event for a particular entity in Mage_Index_Model_Resource_Event::_beforeSave: protected function _beforeSave(Mage_Core_Model_Abstract $object) { /** * Check if event already exist and merge previous data */ if (!$object->getId()) { $select = $this->_getReadAdapter()->select() ->from($this->getMainTable()) ->where('type=?', $object->getType()) ->where('entity=?', $object->getEntity()); if ($object->hasEntityPk()) { […]
I have run this command:- mysql -u magento -p database < database_file.sql I have got the error:- ERROR 1062 (23000) at line 5447: Duplicate entry '7-41-0' for key 'catalog_category_entity_int.CATALOG_CATEGORY_ENTITY_INT_ENTITY_ID_ATTRIBUTE_ID_STORE_ID' How to solve this error?
In both catalog and product page the “add to cart” button doesn’t load. I get an infinite loader instead of the “add to cart” button. Does anyone know what this could be?? I have never encoutered this problem before.
I wanted to create a new Scalar type as my output is having both string and array. I want my response in the below format. "custom_attributes": [ { "attribute_code": "color", "value": "red" }, { "attribute_code": "size", "value": "M" }, { "attribute_code": "category_ids", "value": [ "3", "333" ] } ]
I want to show the custom options on popup on product page I have created the popup. Can anyone help me populate it with the custom options? Any help would be appreciated. Thank you.
I’m with a need to override admin area template /public_html/vendor/magento/module-customer/view/adminhtml/templates/tab/view/personal_info.phtml I tried doing that with following.Just for testing whether overriding works, I am trying to change the font color of address section in personal info tab. The attempted overriding does not work and I do appreciate if someone guide me […]
I am able to add a button to Product Listing page. But how do I add onclick to it? This is how I am adding the button: $subject->addButton('amazon_sync_button',[ 'label' => __('Sync with Amazon'), 'id' => 'amazon-sync-button', 'on_click' => 'setLocation('' . $this->sync() . '')' ]); I have created a function sync(), […]