Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [convert]

The tag has no usage guidance.

0
votes
1answer
26 views

array convert into Magento 2 collection

I have 2 collection 1 is $bestsalecollection that show in dashboard . second is product collection. After filter collection when i return it generate error Call to a member function isLoaded() on ...
2
votes
0answers
64 views

Magento2: How to convert weight unit to grams from kg?

I have a website in Magento2. Mageto2 provides product weight unit in KG, how an I convert it into unit Gram. I want to change the product weight unit from KG to Gram how it is possible ?.
2
votes
1answer
149 views

How custom attribute of “sales_order_item” table will be save also in “sales_order”

I am using plugin for converting "quote_item" to "sales_order_item" from below give code it work. public function aroundConvert( \Magento\Quote\Model\Quote\Item\ToOrderItem $subject, \...
0
votes
2answers
617 views

Magento 2 : how to convert custom quote field to order field

I added a new field "management_fee" on table "quote" properly. I add this field on "sales_order" field too. I would like to update this field on sales_order table while quote is converting to order. ...
2
votes
2answers
1k views

Magento-2 How to convert price from current currency to base currency

I want to convert product price from the current currency to base currency. For Example, if the product price is 5000 INR. I want to convert 5000 INR to USD. I don't know which core function will be ...
0
votes
0answers
32 views

Convert latin to cyrillic in Magento

Is there any plugin (free or commercial) which can translate latin into cyrillic? So plugin would work like this I would uplod data for news, products etc. in Magento Admin panel in Latin letters - ...
0
votes
1answer
353 views

Magento Convert timezone

I have an input array data containing time in 'Y-m-d h:i:s' format and the gmt timezone data like this: $time = array( "time" => "2017-11-01 12:00:12" "gmt" => "+7" ...
1
vote
1answer
2k views

Magento2: Collection to SearchCriteria

How to convert $products = $this->_catalogSearchAdvanced ->getProductCollection() ->addStoreFilter($storeId) ->setCurPage($page) ->setPageSize($...
1
vote
1answer
432 views

magento 2 varien_file_csv

I have a script from Magento 1 that I ned to convert to Magento 2. The script uses Varien_File_Csv that I can't find in Magento 2, and so can't the Magento 2. Where is this file in Magento 2 found? Or,...
2
votes
0answers
469 views

I am trying to convert DIV to Image without HTML2CANVAS [closed]

I am recently trying to convert html to image in magento 1.9.2.4. so i have used Html2canvas.js. But It conflict with Magento Default prototype.js. So now i need to convert div to image without canvas....
1
vote
1answer
910 views

Best way to convert configurable products to simple products

A client has a lot of configurable products which contain just one simple product. The thinking behind this is that it will be easier to add products when the manufacturer ads new variants of the ...
-1
votes
1answer
46 views

Convert response to readable form

I am posting request to paypal using curl. Please check following code $url = 'https://api-3t.sandbox.paypal.com/nvp'; $request = array(); $request['USER'] = 'username' ; --- sending other ...
2
votes
2answers
201 views

`copyFieldset` one source property to multiple target properties

I'm tasked converting quotes into a custom data type, and using Mage_Core_Helper_Data::copyFieldset was working really well until I had two target properties that had to be set to the same source ...
1
vote
1answer
490 views

Two prices on one product. Cant find info how

i have a different request my price should look like.Its only because my country is currently in currency changing period. So i need to price look like this It doesn't matter in what currency but i ...
1
vote
1answer
1k views

Regarding currency conversion error INR and USD

I have a problem with currency convert, my base currency is Indian Rupee and i mapped Indian Rupee and [USD] to the site. Currency rates also given correctly. While i changed INR to USD its showing ...
0
votes
1answer
4k views

How to filter collection by OR condition?

I have two 'Yes/No' attributes created for products in my store. I want to get the product collection of products whose at least one attribute is set to yes. I've searched the web, but many websites ...