All Questions
113,145
questions
1
vote
1
answer
2k
views
Understanding object manager argument replacement using di.xml for commands
I'm following object manager argument replacement tutorial. One of the possible di.xml looks like
<type name="Pulsestorm\TutorialObjectManagerArguments\Model\Example">
<arguments>
...
1
vote
5
answers
936
views
How to extract security patch files from sh file
I need to install security patch "PATCH_SUPEE-7405_CE_1.9.2.2_v1-2016-01-20-04-35-33.sh" in magento ver 1.9.2.2 . Is there any way I can extract package of complete patch files from this file.
0
votes
1
answer
325
views
How can Change the load order of stylesheets so that apptrain module css loads before custom.css and site-specific.css
I have installed apptrian in my site. Now I have to change the load order of stylesheets so that apptrain module css loads before custom.css and site-specific.css. I am working in local. Where can I ...
0
votes
2
answers
389
views
How to show short description via invoice admin panel
I want show short description via admin admin like this image.
Please tell me how to show it.
Thanks.
0
votes
1
answer
380
views
Custom template error after update magento from 1.9.0.1 to 1.9.2.3
Warning: Missing argument 1 for Mage_Core_Block_Template::setTemplate() in /var/www/magento/app/code/core/Mage/Core/Block/Template.php on line 111
0 /var/www/magento/app/code/core/Mage/Core/Block/...
0
votes
1
answer
266
views
Search queries returning 404
If searching for a product that has a category, e.g. "Acer", "apple", "hp". It returns a 404 error not found.
This happens because URL rewrites are not on, and so the URL is www.**.com.au/brands/acer ...
1
vote
1
answer
5k
views
Get logo url & alt in topmenu
so I'm trying to add the logo to the topmenu.phtml but <?php echo $this->getLogoSrc() ?>, and <?php echo $this->getLogoAlt() ?> don't work (they return null/nothing)
Is there a way ...
5
votes
2
answers
6k
views
Magento 2 Override Shipping Template
I'm trying to override:
/vendor/magento/module-checkout/view/frontend/web/template/shipping.html
I made a copy in:
app/design/frontend/Vendor/Theme/Magento_Checkout/template/shipping.html
As ...
0
votes
1
answer
371
views
Changing price is not reflecting for configurable products
i am trying to change the price of associated products .
In the below image, you can see 2 tables, in first table you can see "option 3, option 4, option 5....etc" , next to that column there is a ...
-1
votes
1
answer
1k
views
How to add Expected delivery time in magento
how to add expected delivery time in weeks in magento product view page.i have already insatlled a new theme and want to display delivery time in weeks (e.g 3 weeks)in each product details view.
...
0
votes
1
answer
204
views
Is there a way to automatically upload pictures with bar-code (EAN) in it's name to products with those EAN codes
Okay guys,
I imported a .csv file with products information to a certain categorz in magento. And since I'm moving those products from an old website I have HUGE (30k) pictures folder taken from and ...
9
votes
1
answer
9k
views
Magento2 redirecting to Shopping cart
Is there a way in Magento2 to have the user get redirected to shopping cart page after clicking "add to cart" - instead of the mini cart option at top of page?
1
vote
2
answers
4k
views
how to check which PHP version use magento 1.6 or magento 1.7?
I want to check which PHP version magento 1.6 or magento 1.7 is using?
2
votes
1
answer
2k
views
Magento 2 - sample data clean up script
I have been working on a Magento 2 site build and have the sample data-installed, which has been useful for layout and theme updates that I needed to make.
I would like to know if there is clean-up ...
0
votes
1
answer
143
views
Magento 2 - Create a composer module with .less files in it
I'm trying to figure out how I can package a module with some .less files in it through composer.
For example, let's say You wrote a module which has few frontend parts, of course this parts needs ...
0
votes
1
answer
31
views
Disabling modules for frontend requests?
In order to increase performance for a site I'm looking to disable modules from being loaded only if it is a frontend request (i.e. not admin).
Has anyone had experience doing this, or have any ...
1
vote
0
answers
34
views
Tax Currency Must Be Shown in Invoice
My website's default currency is EUR, as well as the currency it charges and pays VAT (in Netherland).
We do sell in other currencies, especially GBP, but anyway obligated to present the charged VAT ...
1
vote
2
answers
740
views
Can I use Magento without mcrypt? [duplicate]
My shop was moved to a server without mcrypt and for some reason mcrypt can not be installed (don't ask me why!).
Looks like passwords are only encrypted with md5 with a salt (bad!) so I wonder what ...
10
votes
5
answers
19k
views
How to programmatically add attribute option values in data upgrade script?
I want to programmatically add new product option values in a data upgade script of my module. How can I do this?
1
vote
1
answer
2k
views
Deleting an address and relationship with customer
When fetching a customer's addresses and deleting them in a foreach loop:
$addresses = $customer->getAddresses();
foreach ($addresses as $address) {
$address->delete();
}
The addresses ...
1
vote
2
answers
401
views
Troubles with applying patches to Magento 1.9.2.0
I'm having troubles patching Magento 1.9.2.0.
Applying patch supee-7045 failed and I searched for a solution, and I have put the .htaccess and .htaccess.sample from a clean install into my Magento ...
0
votes
1
answer
480
views
Very strange mysql wait after moving to different server
I moved my webshop to a different dedicated server, same specs as my old one. Now I am testing it but there is a very strange wait before loading the page. The page load is more then 30 seconds, on ...
0
votes
2
answers
672
views
Block not appearing on home page
I had created a featured products block for my home page as per the tutorial here although with some changes to the featured.phtml file. It worked perfectly. Then I had to remove the block and put a ...
2
votes
2
answers
10k
views
Direct link to sample data?
Is there a direct link to the sample data for CE 1.9.1/1.9.2?
I'm trying to download it directly to the servers using wget but the links on http://devdocs.magento.com/guides/m1x/ce18-ee113/ht_magento-...
0
votes
1
answer
63
views
Cookie can NOT be set anymore and site unavailable
I can't access the frontend of my site
http://magento.p292682.webspaceconfig.de/
anymore.
However, I was able to access the site from a machine that had a cookie saved from that site (10 hours earlier)...
0
votes
0
answers
57
views
Magento gallery images shown in backend, but not on frontend?
I created a product by code and also set the main image and the gallery images with code. When I check the product in the backend, all images are there.
On the frontend, it only shows the main image,...
1
vote
1
answer
351
views
Which event should I use to add product to cart after coupon code is applied?
I'm developing a custom module on Magento 1.9.2.2 CE which will add a product to cart once a promo code is submitted by the customer. I've got my add product code working and triggering for other ...
0
votes
1
answer
43
views
Share stock with Opencart
Hi i was wondering if it is possible to have interaction between opencart and magento stores. We currently are working on a magento store for our website and our supplier is going over to opencart. ...
3
votes
2
answers
2k
views
Cannot read contents from file app\design\adminhtml\Magento\backend\etc\module.xml in Magento 2
I have created a adminhtml theme but it's throwing error. Could you please clarify me where I went wrong?
my code is:
root/app/design/adminhtml/Magento/backend/composer.json
{
"name": "magento/...
0
votes
2
answers
781
views
catalog/products_list not working with different static blocks
I want to display category wise products on my homepage, for that i am using catalog/list via custom static blocks. Below is my code which i am pasting in my static block content.
{{block type="...
0
votes
1
answer
121
views
Selecting Data form a table when attribute Id is 1105?
I am trying to display a customer reference on the sales order grid which i have created as a custom attribute on the sales order grid. I added this to _prepareColumns() to create the column
$...
0
votes
2
answers
657
views
Magento2 composer module:uninstall: Does it make sense and why does it take so long?
We want to streamline a magento installation managed via composer.
So, for example we have no need for Magento_SendFriend module, nor Magento_Review, and maybe other not essential / small modules.
...
3
votes
1
answer
3k
views
Difference between Factory vs ObjectManager while instance object
I have some confusion while use Factory pattern vs new instance object.
What difference between them?
$object = objectManager->create() vs objectManager->create('ObjectFactory')
what benefits ...
1
vote
2
answers
2k
views
Google doesn't ignore ?SID when its disallowed in robots.txt
I have disallowed? SID in my robots.txt but Google still likes to show them in search results.
0
votes
1
answer
182
views
Magento2 refused to inject factory
I have created a controller that uses the orderfactory because i need to load and modify a order.
The class looks like this:
class Accept extends \Magento\Framework\App\Action\Action
{
...
0
votes
1
answer
637
views
Saving as order when paypal transaction cancelled by user
How to save the order to order table under any state when the payment is cancelled via paypal standard.
0
votes
1
answer
150
views
Magento redirect for language
I have this problem:
www.prova.com
www.prova.com/it/
www.prova.com/eng/
i want my guest entry directy into website 2)
1
vote
0
answers
757
views
Estimating shipping rate on product details page in Magento1.9.2
I am using FedEx shipping carrier, I would like to display shipping rate on product detail page.
I tried following codes in the product view page (catalog/product/view.phtml)
...
if($_product->...
1
vote
2
answers
3k
views
How can I get custom module collection on form page magento 2
I want to set categories in dropdown field of form of subcategory module in magento2 . How can I get category collection on subcategory form page and set values in dropdown field.
I am trying to do ...
1
vote
1
answer
536
views
Console errors after installing Magento-CE-2.0.2 [duplicate]
I freshly installed Magento 2.02 Community Edition but now when i
login to admin panel then nothing is clickable and found 28 console
error related to css and js How can i solve this problem
3
votes
1
answer
2k
views
Whitelist a product block programmatically [duplicate]
I have installed Magento 1.9.2.2 CE in my site.
Now I have created a new products block called "Featured Products", whose block class file is as below:
<?php
/**
* Magento
*
* NOTICE OF ...
1
vote
1
answer
284
views
so many problem to my homepage error [closed]
this is for a day event
what problem?
my homepage server CPU is many sometimes 100%
to very slowly or not opened my homepage
this is my systeml.log copy
2016-02-04T05:18:38+00:00 ERR (3): Warning: ...
1
vote
1
answer
92
views
migrate sales order from site to site
Since I have a task which have to migrate a site /au to /asia (I know customer's store_id website_id need to be changed), i'm wondering if I need to change the store_id in sales_flat_order table,
...
1
vote
1
answer
1k
views
Error : Memory limit has been reached on product image upload after server migration - magento 1.9 [duplicate]
After migrating my Magento site to a new server (CentOS 6 ) I can't update or upload new images to any of my products. its showing Memory limit has been reached while uploading any images.
logs :
...
3
votes
3
answers
2k
views
Save Magento 1.9.2 contact form data in database?
I want to store Magento 1.9.2 contact form data into database?
I have create a New DB Table and create new Module on local Pool but Controller overwrite is not working.
I want to send email as well ...
2
votes
0
answers
299
views
How to display Date attribute in layered navigation?
I want to display Date attribute in layered navigation. Magento default date attribute configuration doesn't allow Show in Layered Navigation in frontend value to be set.How can I do that?
1
vote
1
answer
132
views
Observers are not triggering in REST API
We have developed an website in Magento EE using REST API. From User registration to Order place , we have exposed as REST API.
In that we have used Amasty Special promotion pro extension for ...
1
vote
1
answer
382
views
Want to make changes in Sub Admin and their views in admin panel
I created a one main admin account name xyz ( Full Access of all modules) and three different sub-admin user account names are xyz1, xyz2 and xyz3 and this three sub-admin have only access of only ...
2
votes
2
answers
1k
views
how to extend .js and .html files in Magento 2
I'm extending customer address for these I have to modify/extend vendor/Magento/module-ui core files.
i.e
root/vendor/magento/module-ui/view/base/web/js/form/components/collection.js
and
root/...
2
votes
3
answers
6k
views
System.log error simplexml_load_string (Extra content at the end of the document)
System.log error
2016-02-04T03:16:25+00:00 ERR (3): Warning: simplexml_load_string(): Entity: line 9: parser error : Extra content at the end of the document in /var/www/html/magento/app/code/core/...