Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x

Magento

217

Solutions

298

Contributors

Magento is an open-source e-commerce platform written in PHP for e-commerce web sites. Magento employs the MySQL/MariaDB relational database management system, the PHP programming language, and elements of the Zend Framework. It applies the conventions of object-oriented programming and model–view–controller architecture. Magento also uses the entity–attribute–value model to store data.

Share tech news, updates, or what's on your mind.

Sign up to Post

I want to capture 80% amount in authorized.net. For example I have placed order with 1000 amount and I can see this amount in authorized.net sand box in unsettled transaction, I have searched api, by this api we can to capture 800 amount only. How to implement this in magento? Anyone have idea? Please let me know. Please find link here.
0
Free Tool: IP Lookup
LVL 11
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hi folks

We support a Magento shop for which we recently enabled Nginx as a front end. All is good, however the Wordpress blog located at ./blog is being ignored, instead Magento tries to serve the location, and ends up in a 404.

I know this is due to the Nginx config not correctly redirecting for the /blog folder, but I don't know enough about Nginx to fix it.

There is a .htaccess file in the /blog folder, which looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

# END WordPress

Open in new window


However this is now being ignored.  I have tried to add various bits of code to the Nginx config to no avail.  Please can someone fix my Nginx config to allow the Wordpress blog to work.  Either by redirecting to the correct index.php, or just excluding the /blog path from Nginx and allowing Apache to do it's thing.

This is on a Plesk-controlled CentOS server, so shared hosting is involved.  Here is the current NGINX config:
## These locations would be hidden by .htaccess normally
location ^~ /app/                { deny all; }
location ^~ /includes/           { deny all; }
location ^~ /lib/                { deny all; }
location ^~ /media/downloadable/ { deny all; }
location ^~ /pkginfo/            { deny all; }
location ^~ /report/config.xml   { deny all; }
location ^~ /var/

Open in new window

0
Hi,

I hope that someone is able to help. The web development team have changed the current website that we are using. We have an order download application that integrated into mageno.

The issue is that I try to change the endpoint address to the following and I receive an error:

https://old.filofax.co.uk/index.php/api/v2_soap/index/?wsdl=1

Error message is attached(error1)

I have also tried to generate a proxy class using the same error message.

My issue is that I can browse to this URL ok.

I would appreciate any help. I have contacted the hosting company and they don't have any iea.

Best Regards,

Ross
error1.png
0
We have a new site under development, running on Magento 1.9.3.1 and are looking for an extension that allows customers to "Make an offer" for a product.  There are many of these extensions out there, however we have not been able to locate one that works with CONFIGURABLE PRODUCTS. All of the products in our store are configurable and NOT simple products.

Can anyone recommend a well-performing extension of this nature that meets the following criteria:

1.  Works with configurable products
2. Allows a NON logged-in site visitor to make an offer ie. does not require registration and login first.

Thanks!
0
Hello everyone,

I am needing to remove UPS, Ground, Free Shipping etc whenever a certain product is in the cart or checkout.  I was able to remove the free shipping class when products with a Freight class are set in the back end.

The other challenge is the logic then to make sure if the same product going to CA lands in the $300 class but if it is going to GA then it should ship in the Freight_250 class. Im thinking that maybe that can be removed thru magento? But still would need the UPS and Ground etc whenever a Freight_class isnt showing.

The product is the Product Martrix Extension.
http://support.webshopapps.com/productmatrix/

Thank you all!
0
I have a magento website in which I need to change the footer. I see the address change on the actual design area of the settings and I change it but it does not change the footer address. Do I need to get into the actual files to change it or am I missing the area in which I change that information?
0
I'm using Magento and when I log the queries I get , e.g
SQL: INSERT INTO `catalog_product_entity_varchar` (`entity_type_id`,`attribute_id`,`store_id`,`entity_id`,`value`) VALUES (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?) 
BIND: array (
  0 => 4,
  1 => 85,
  2 => 0,
  3 => 243,
  4 => '/b/b/bb1052wrb_6.gif',
  5 => 4,
  6 => 86, etc, etc

Open in new window

Is there a handy-dandy way of getting the sql with the placeholders replaced by the values so i can tug it apart easily?
0
Hello there,

I have a question. I'm using magento 1.9 and I have a problem to figure out how to menage and solve this problem.

Basically, I have one product. Inside this product, I want to put another product with the quantity selection too. Right now, I made my page and I load a product with the basic custom options -> chechbox. This works fine, but I would like to give the options to the costumer to select two different quantity.

Think about a ticket, you can buy 4 ticket but just for 2 you want the special options.

I also tried the grouped products. But I don't want to make 3 product every time (one grouped product, one specific ticket, and the one special option). If I do this, I should make one grouped product and maybe I will load dynamically by id the two products in the page. So that, I will have one grouped products for all the products that I want to use with this options.

So, because I'm making my own phtml page, I'm looking if there is any specific code to put the checkbox options manually inside with the quantity too. The ticket will change, but this options would be static.

Ex: show_product.phtml

<?php

$_GET["event"];
$sku = $_GET["event"];

 $vPath = $sku.".html";
 $oRewrite = Mage::getModel('core/url_rewrite')
 ->setStoreId(Mage::app()->getStore()->getId())
 ->loadByRequestPath($vPath);

  $iProductId = $oRewrite->getProductId();
  $oProduct = Mage::getModel('catalog/product')->load($iProductId);

  $id = $iProductId;

  //get id 

Open in new window

0
I am unable to import large magento database (more then 11 mb) using phpmyadmin under ubuntu operating system.

I have already increase "post_max_size=100M" and "upload_max_size=100M" using php.ini file

The Error is showing after importing file:
"Script timeout passed,if you want to finish import please resubmit the same file and import will continue."

i have also resubmitted the same file but same error is showing.
Please help how to solve the issue.
0
Hi,

I am trying to figure out how to sort SKUs in the sales order and in the shopping cart in Magento (ver. 1.9.0.1). Ideally we would like ascending SKU order. Any ideas on how to accomplish this?

Thanks in advance!
0
Free Tool: Port Scanner
LVL 11
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Is a good practice to instantiate a Magento help in the constructor?

public function __construct()
    {
        $this->helper=Mage::helper('helper_name');
    }

Open in new window

0
hi, I managed to create a magento module with a custom collection.
I have now to import a CSV file into the database as a part of module initialisation, so I'm using
Varien_File_Csv() 

Open in new window

Given
$content = $helper->getFileContents($path); //Varien_File_Csv() 

Open in new window


I'm looping into content in this way, as I want discard duplicates rows from the csv. So I thought about pushing data into an array before saving.

foreach ($content as $row){
  
if (!in_array(getManagerName($row), $managers)){  

        $managersModel->setName(getManagerName($row));
        try {
            $managersModel->save();
        } catch (Exception $e){
        }
        $managers[$managersModel->getId()]= getManagerName($row);
        $managersModel->unsetData();
    }
}

Open in new window


Question is, is there any other faster or better approach I could use to limit db transaction eg: saving the entire collection after removing duplicates?
thanks
0
I need to get a basic install of Magento  up - so I decided to use the Azure 'Magento CE v1.9.1.0 on Ubuntu 14.04LTS'.

When I browse to the IP of the VM Magento returns error

"There has been an error processing your request
Exception printing is disabled by default for security reasons.

Error log record number: 1489044056301"

When I look at error  1489044056301 in /var/www/magento/var/report$

It shows:


[b]a:4:{i:0;s:107:"SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)";i:1;s:2280:"#0 [/b]

Open in new window


Stumbled at the first hurdle. Why is it not connected to MYSQL?

The readme file says to start mysql but it alreay appears to be started.


I thought I would simply need to start the VM.

Anyone with experience with this Azure Template/VM got a quick answer?
0
Hello,
 
I would like to change my layered navigation so users can only selected 1 item per drop down.
 
as a bonus, I would like it to behave like old style ajax menus
I have 4 different drop down menus in my layered navigation and they are all attributes. Ideally, the first drop down would cause the second drop down to populate, the second -> populate third drop down, the third -> populate fourth drop down. Is it possible to modify my layered navigation to behave this way? What files and functions could i modify to accomplish this?
0
I need to modify how products are displayed in the layered navigation and search results. I have many products that have the same attribute value so I want to add a GROUP BY so only one of each products displays if they have the same attribute value. What page and functions do I modify to add this?
0
how to add search bar after the top links in magento 2?
0
i am facing this issue but really dont know how to solve it. please tell me the solution even if its really simple for you as i am having a hard time solving it. whenever a customer sign ups to my website magento confirmation email have some code file in attachment .is there anyone to stop that code file in attachments
0
After ordering an item and going to checkout page..

By default, the form is showing in this order:

Street Address
City
State/Province
Zip/Postal Code
Country
I want to it to be in this order:

Country
Zip/Postal Code
State/Province
City
Street Address
I already re-order the first three(country, zip and state) by adding this:

<item name="sortOrder" xsi:type="string"> *** </item>

Open in new window


But there is no city and street address on \vendor\magento\module-checkout\view\frontend\layout\checkout_index_index.xml

How will I put the street after city?
1
My hosting provider upraded the server where one of my client's site was hosting using magento.  Since the upgrade, I am getting this message whenever anybody tries to checkout.
Fatal error: Class 'Mage_Checkout_Model_Type_Onepage' not found in /home/nicolas/public_html/app/code/local/Amasty/Customerattr/Model/Rewrite/Checkout/Type/Onepage.php on line 3

Not sure what to do.
0
Keep up with what's happening at Experts Exchange!
LVL 11
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

sir i am tryint to import file byt the file is not properly uploaded it gives me error .

1-Skipping import row, required field "sku" is not defined.
2-Imported 0 records
 
I already save into utf-8 but still it is showing the error.
0
Hello,

While trying to register a customer via a magento 2 extension, I always get We Can't save customer. I have tracked the filed responsible for it but couldn't resolve it.

I have attached the file for further inspection
BecomesellerPost.php
0
Hello,

When I go to System -> Web Setup Wizard

Magento takes me to blank page with the following information:

Welcome to Magento Admin, your online store headquarters.
To use the Magento setup wizard sign into your Admin account and navigate to System => Tools => Web Setup Wizard

with a URL ending /setup/index.php/session/unlogin

Knowing that I'm logged in as Administrator already.
I'm using Magento 2.1.2

I can't reinstall anything as this is a production server.

Please help me.
0
Hi,

I have setup a mailserver that accepts TLS connections. I configured Magento to send mails via SMTP. When I do a test mail I see the following errors:
Jan 29 19:56:07 mail postfix/submission/smtpd[14799]: SSL_accept error from srv4.example.com[xx.xx.xx.xx]: 0
Jan 29 19:56:07 mail postfix/submission/smtpd[14799]: warning: TLS library problem: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:s3_pkt.c:1472:SSL alert number 48:
Jan 29 19:56:07 mail postfix/submission/smtpd[14799]: lost connection after STARTTLS from srv4.example.com[xx.xxx.xxx.xx]

I suspect this is because of some sort of certificate error. I can use another client to connect and sent mails succesfully, however I am presented with a popup to accept the certificate from the mail server. Also when I configure magento to use gmail mails are sent succesfully as well.

If this issue is related to the certificate what is best to do? I cannot accept certificates from Magento. Or maybe I should use different certificates (I use self signed). Or maybe the problem has to do with something else completely?

Hope someone can help with this.

Thanks for your answer!
0
Hi Experts,

Is there any Magento 2 User dashboard interface template, the default one looks ok but I thought if you can guide me to a sort of template.

thanks
0
Dear all,
How do you classify products which provide a SDK and host modules like following products:
MS SharePoint, DotNetNuke, WordPress , Joomla  Drupal,  Magento , osCommerce, ZenCart , VirtueMart
I just need a name to use it in my research paper,
Thanks
0

Magento

217

Solutions

298

Contributors

Magento is an open-source e-commerce platform written in PHP for e-commerce web sites. Magento employs the MySQL/MariaDB relational database management system, the PHP programming language, and elements of the Zend Framework. It applies the conventions of object-oriented programming and model–view–controller architecture. Magento also uses the entity–attribute–value model to store data.

Top Experts In
Magento
<
Monthly
>