Upgrading to Magento 2 by only taking product data?

I have read that the upgrade is a very very big project to undertake. Our ecommerce store doesn’t turn over a huge amount of money and we’ve been quoted £10,000 to go to Magento 2.

My question is, what if we only want to take the product data with us? We are in a niche that doesn’t have recurring buyers so we’re not necessarily looking to migrate customer data or order history. We don’t even particularly like our theme too much either.

Thank you!

submitted by /u/Brad_1
[link] [comments]

Magento 2.3 – Unexpected error Exception: Warning: SessionHandler::read()

I am getting Unexpected error,

Exception: Warning: SessionHandler::read(): open(/var/opt/remi/php72/lib/php/session/sess_5292j25aa4ugpdgrv9r6a3l3p8, O_RDWR) failed: Permission denied (13) in /usr/share/nginx/html/gta/vendor/magento/framework/Session/SaveHandler/Native.php on line 22 in /usr/share/nginx/html/gta/vendor/magento/framework/App/ErrorHandler.php:61

How to solve the error?

Tag : Nginx, Centos 7

submitted by /u/aveeva7
[link] [comments]

Magento retiring their Google Shopping Ads extension

The Magento extension Google Shopping Ads has been removed from the Magento Marketplace.

On April 28, 2020, the Google Shopping ads Channel extension will be deactivated in all Magento versions.

Going forward, users must switch to a different Vendor’s extension, or operate Google Ads directly in their own Merchant Center Account.

https://docs.magento.com/m2/ee/user_guide/sales-channels/google-ads/google-eol.html

submitted by /u/bigoyel509
[link] [comments]

Magento 1. 9 – How to add website filter inside the sales email template HTML file?

Sales email template file: app/locale/en_US/template/email/sales/order_new.html.

Sample workout :

<[email protected] {{var store.getFrontendName()}}: New Order # {{var order.increment_id}} @--> <[email protected] {"store url=""":"Store Url", "var logo_url":"Email Logo Image Url", "var logo_alt":"Email Logo Image Alt", "htmlescape var=$order.getCustomerName()":"Customer Name", "var store.getFrontendName()":"Store Name", "store url="customer/account/"":"Customer Account Url", "var order.increment_id":"Order Id", "var order.getCreatedAtFormated('long')":"Order Created At (datetime)", "var order.getBillingAddress().format('html')":"Billing Address", "var payment_html":"Payment Details", "var order.getShippingAddress().format('html')":"Shipping Address", "var order.getShippingDescription()":"Shipping Description", "layout handle="sales_email_order_items" order=$order":"Order Items Grid", "var order.getEmailCustomerNote()":"Email Order Note"} @--> <[email protected] @--> {{template config_path="design/email/header"}} {{inlinecss file="email-inline.css"}} <table cellpadding="0" cellspacing="0" border="0"> <tr> <td> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="email-heading"> <?php $website_id = Mage::app()->getWebsite()->getId(); if($website_id == "2") : ?> <h1>Welcome you for your order from {{var store.getFrontendName()}}.</h1> <?php else : ?> <h1>Thank you for your order from {{var store.getFrontendName()}}.</h1> <?php endif; ?> <p>Once your package ships we will send an email with a link to track your order. Your order summary is below. Thank you again for your business.</p> </td> <td class="store-info"> <h4>Order Questions?</h4> <p> {{depend store_phone}} <b>Call Us:</b> <a href="tel:{{var phone}}">{{var store_phone}}</a><br> {{/depend}} {{depend store_hours}} <span class="no-link">{{var store_hours}}</span><br> {{/depend}} {{depend store_email}} <b>Email:</b> <a href="mailto:{{var store_email}}">{{var store_email}}</a> {{/depend}} </p> </td> </tr> </table> </td> </tr> <tr> <td class="order-details"> <h3>Your order <span class="no-link">#{{var order.increment_id}}</span></h3> <p>Placed on {{var order.getCreatedAtFormated('long')}}</p> </td> </tr> <tr class="order-information"> <td> {{if order.getEmailCustomerNote()}} <table cellspacing="0" cellpadding="0" class="message-container"> <tr> <td>{{var order.getEmailCustomerNote()}}</td> </tr> </table> {{/if}} {{layout handle="sales_email_order_items" order=$order}} <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="address-details"> <h6>Bill to:</h6> <p><span class="no-link">{{var order.getBillingAddress().format('html')}}</span></p> </td> {{depend order.getIsNotVirtual()}} <td class="address-details"> <h6>Ship to:</h6> <p><span class="no-link">{{var order.getShippingAddress().format('html')}}</span></p> </td> {{/depend}} </tr> <tr> {{depend order.getIsNotVirtual()}} <td class="method-info"> <h6>Shipping method:</h6> <p>{{var order.shipping_description}}</p> </td> {{/depend}} <td class="method-info"> <h6>Payment method:</h6> {{var payment_html}} </td> </tr> </table> </td> </tr> </table> {{template config_path="design/email/footer"}} 

I just want to add if-else condition like, inside the class(<td class=”email-heading”>)

Any help thanks.

submitted by /u/aveeva7
[link] [comments]

Magento 2 and varnish

Hi guys,

I’m having some problems with the varnish config. I’d also post to the /r/varnish but it seems to be pretty inactive, so I’m trying you guys.

The sites have been using Varnish 3 for years (which I inherited) and I’m currently trying to get onto v6.

Everything seems to be working now with one exception. When I try to export a csv over a certain size, I get a varnish error. I’ve been trying to either stream or pipe csv/xml files but I’m not getting anywhere. I’m not even sure if I’m doing it right – the only instructions I can find anywhere are for vcl 3.

Has anyone else come across this problem, and if so, how did you get around it.

Thanks in advance.

submitted by /u/TheSockMonster
[link] [comments]

[Magento 2.3.3] Tabs lib issue

Hello all! We are currently working on upgrading from 2.2.7 to 2.3.3 and I have ran into an issue with the tabs lib.

We are using the ‘mage/tabs.js’ lib (‘tabs’ in requirejs dependency) to create a tabs section in checkout (using $(‘#element’).tabs() call to instantiate). However, after some debugging in 2.3.3 I see that Magento added the ‘jquery/ui-modules/tabs.js’ lib after breaking down the jquery/ui lib dependency. However, it seems as though our ‘.tabs()’ call is now hitting that new jquery ui tabs.js instead of mage/tabs.js and it is not working anymore.

Has anyone ran into this yet or know how to explicitly call the mage/tabs.js lib in js to prevent the wrong lib usage?

Thanks!

submitted by /u/thawkins
[link] [comments]

Question on Compensation for Tech Support, Updates, Etc.?

Here’s the story, I’ll try and keep it as brief as possible.

Got hired part-time with no experience by a two-man operation small business that sells lab equipment. Both owners are not tech savvy to say they least yet had chosen M1 as their eCommerce platform and had a dev agency doing the updates (their work wasn’t what one would describe as high quality). A few months into my tenure, that same dev agency convinced my employers to migrate to Magento 2. Without doing any research on the matter they willfully obliged.

Cut to a year later, cobbling together what little resources I could find online, I taught myself how to update M2 with composer, fix any bugs with patches, basically maintain a M2 site on my own (dev agency no longer needed). However, my compensation for these tasks were now likely inadequate mostly due to my lowly beginnings.

Cut to the present day, I’ve taken a liking to this code business and enrolled myself in a code school with aims of landing a full-stack dev job (not Magento related lol). The class schedule has made my time more precious, so I’m now only willing to offer my services for updates and technical support.

Here’s the question, what should I be asking for in return for those services? It’s a cookie-cutter site, has a 3rd-party theme, a few extensions that need manual updating, no real customizations aside from my own custom theme work.

I’m in the U.S. btw, I realize that makes a difference.

submitted by /u/SirShmooey
[link] [comments]

FedEx dimensional shipping options

Is there a way to have FedEx’s api in Magento 2 utilize volumetric (dimensional) shipping over weight? My FedEx account is set up as such, but when checking out it’s completely undercharging and only utilizing one box vice the required amount of boxes to fit the order.

Is the only option to create a new module or find an extension?

Can adding attributes to each product accomplish this? I see there’s a weight, but I believe the LxWxH option went away with the temando shipping.

Any advice will help.

Thanks

submitted by /u/gabrielxavila
[link] [comments]