forked from SureShinde/MagentoB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urapidflow.php
63 lines (60 loc) · 1.52 KB
/
urapidflow.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
// initialize Magento environment
include_once "app/Mage.php";
Mage::app('admin')->setCurrentStore(0);
$helper = Mage::helper('urapidflow');
//export
if($argv[1]==1){
// all product home:
$helper->run(76);
// image product:
$helper->run(82);
// all product baby:
$helper->run(53);
// descrription:
$helper->run(36);
// master data category:
$helper->run(83);
// Export Product Feed Elevenia - Baby & Kids:
$helper->run(87);
// Export Product Feed Elevenia - Beauty & Health:
$helper->run(88);
// Export Product Feed Elevenia - Home & Garden:
$helper->run(89);
// Export Product Feed Elevenia - Fashion:
$helper->run(90);
// Export Category-Product Association:
$helper->run(46);
// Export All Product - Groceries:
$helper->run(97);
// Export All Product - Beauty:
$helper->run(98);
}
//import
else if($argv[1]==2){
// Import Product Status Price - Baby:
$helper->run(15);
// Import Product Group Price - Baby:
$helper->run(35);
// Import Product Status Price - Home:
$helper->run(71);
// Import Category-Product Association - Baby:
$helper->run(45);
// Import Category-Product Association - Home:
$helper->run(74);
// Import Description Product - Baby:
$helper->run(37);
// Import Product Status Price - Groceries:
$helper->run(91);
// Import Product Status Price - Beauty:
$helper->run(92);
// Import Category-Product Association - Groceries:
$helper->run(94);
// Import Category-Product Association - Beauty:
$helper->run(95);
}
//prod feed
else if($argv[1]==3){
// product feed:
$helper->run(32);
}