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.

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?


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.


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

Data Migration Drupal > Magento2

I’ve been tasked as a project BA to sketch out the work needed to move items currently housed in Drupal over to Magento2.

I’m wondering if any documentation, a checklist, guide exists for something like this. I’m very new to the role and, quite frankly, don’t know what I don’t know.

Any help/direction would be very much appreciated!

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

Magento 1.9 – How to write script for bulk update in table using csv?

I want to add a position for products by using category id in the table catalog_category_product, how to bulk update for my 20k products and any best practice for this suggest me thanks.


<?php require_once 'app/Mage.php'; umask("0"); Mage::app(); ini_set('display_errors',"1"); ini_set('display_startup_errors', "1"); error_reporting(E_ALL); if (($handle = fopen("inputs.csv", "r")) !== FALSE) { while (($data = fgetcsv($handle, '1000', ",")) !== FALSE) { $sql='UPDATE catalog_product_entity_media_gallery_value SET label='.$data['2'].' WHERE value_id = '.$data['0'].''; echo $sql.'<br/>'; mysqli_query($sql); } fclose($handle); } ?> 

How to alter my script for Magento 1.9?

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