All Questions
7
questions with no upvoted or accepted answers
0
votes
1
answer
47
views
Display array when button in clicked in PHP
I have an array as such:
Array([0]=>1001 [1]=>1002 [2]=>1003 [3]=>1004)
Array([0]=>2001 [1]=>2002 [2]=>2003)
I am trying to display the array in a table like below:
Location
...
0
votes
1
answer
166
views
PHP Array Unique on exploded Keywords from MySQL problem
I'm trying to echo keywords from a MySQL database, separated by colon, and remove (don't show) duplicates.
This is what I got.
Keywords in DB
Love:Sorrow:Death
Happiness:Love:Excitement
Excitement:...
0
votes
1
answer
28
views
Fetch data and arrange sequence in given format
This is my array:
<?php
$sku = ['HH017','HH018','HH005','HH010','20OZHHTUMBLER',
'30OZTUMBLER2','HH006','HH-05'];
$sequence = ['HH005','HH010','HH006','20OZHHTUMBLER',...];
print_r(sort($...
0
votes
1
answer
790
views
Arry to string conversion Magento 2 webapi - with snippet
I have this code in a module to recalculate Magento 2 shipping rate
public function getAddressHash($request)
{
$addressCondition = $this->objectManager->create('Magesales\...
0
votes
2
answers
128
views
What to do exactly? my code throw an error -> 'Call to undefined function getNodeChildrenData()'
class Ab_CategoryObserver_Model_Observer{
public function updateTopMenuJson(Varien_Event_Observer $observer){
$_helper = Mage::helper('catalog/category');
$_categories = $_helper->...
0
votes
1
answer
54
views
adding new custom attribute product into cart remove the other cart products
I have an issue by adding custom attribute product into cart remove the other already added cart items. I have checked by applying base theme, disabling install module replace the fresh core files of ...
-1
votes
2
answers
498
views
Array Get Value in magento2
i want to get profile id from this array
[2019-05-21 07:30:24] main.DEBUG: array (
'url' => 'https://api-3t.sandbox.paypal.com/nvp',
'CreateRecurringPaymentsProfile' =>
array (
'...