Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitrix
AmiBX
Commits
8f8a509e
Commit
8f8a509e
authored
Dec 09, 2021
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upd alvbx add prods6
parent
0c7aaa22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
AloVoiceRest.php
vendor/alovoice/src/AloVoiceRest.php
+2
-5
No files found.
vendor/alovoice/src/AloVoiceRest.php
View file @
8f8a509e
...
@@ -387,6 +387,7 @@ class AloVoiceRest
...
@@ -387,6 +387,7 @@ class AloVoiceRest
"name"
=>
$data
[
"name"
],
"name"
=>
$data
[
"name"
],
"code"
=>
$this
->
translit
(
$data
[
"name"
]),
"code"
=>
$this
->
translit
(
$data
[
"name"
]),
"xmlId"
=>
$xmlId
,
"xmlId"
=>
$xmlId
,
"iblockSectionId"
=>
(
!
empty
(
$data
[
"price"
]))
?
$data
[
"sid"
]
:
0
,
"quantity"
=>
(
!
empty
(
$data
[
"qty"
]))
?
$data
[
"qty"
]
:
0
,
"quantity"
=>
(
!
empty
(
$data
[
"qty"
]))
?
$data
[
"qty"
]
:
0
,
"quantityTrace"
=>
'N'
,
"quantityTrace"
=>
'N'
,
];
];
...
@@ -395,11 +396,7 @@ class AloVoiceRest
...
@@ -395,11 +396,7 @@ class AloVoiceRest
$arNewProductParams
[
"purchasingCurrency"
]
=
$currency
;
$arNewProductParams
[
"purchasingCurrency"
]
=
$currency
;
$arNewProductParams
[
"purchasingPrice"
]
=
$data
[
"price"
];
$arNewProductParams
[
"purchasingPrice"
]
=
$data
[
"price"
];
}
}
if
(
!
empty
(
$data
[
"sid"
])){
$arNewProductParams
[
"iblockSectionId"
]
=
$data
[
"sid"
];
}
if
(
!
empty
(
$conf
[
"bxbillzfields"
])){
if
(
!
empty
(
$conf
[
"bxbillzfields"
])){
foreach
(
$conf
[
"bxbillzfields"
]
as
$bxf
=>
$blzf
){
foreach
(
$conf
[
"bxbillzfields"
]
as
$bxf
=>
$blzf
){
$bxFld
=
substr
(
$bxf
,
9
);
$bxFld
=
substr
(
$bxf
,
9
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment