Last active
December 17, 2015 19:39
-
-
Save gunjanpatel/44716dccd4bb656e4f2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$rsUserhelper = new rsUserhelper; | |
$shopper_group_id = $rsUserhelper->getShopperGroup($user->id); | |
$shopper_group_data = $rsUserhelper->getShopperGroupList($shopper_group_id); | |
echo "<pre>"; | |
print_r($shopper_group_data); | |
echo "</pre>"; | |
/* | |
Output: | |
Array | |
( | |
[0] => stdClass Object | |
( | |
[shopper_group_id] => 1 | |
[shopper_group_name] => Default Private | |
[shopper_group_customer_type] => 1 | |
[shopper_group_portal] => 0 | |
[shopper_group_categories] => | |
[shopper_group_url] => | |
[shopper_group_logo] => | |
[shopper_group_introtext] => This is the default private shopper group. | |
[shopper_group_desc] => This is the default private shopper group. | |
[parent_id] => 0 | |
[default_shipping] => 0 | |
[default_shipping_rate] => 0.00 | |
[published] => 1 | |
[shopper_group_cart_checkout_itemid] => 0 | |
[shopper_group_cart_itemid] => 0 | |
[shopper_group_quotation_mode] => 0 | |
[show_price_without_vat] => 0 | |
[tax_group_id] => 0 | |
[apply_product_price_vat] => 0 | |
[show_price] => global | |
[use_as_catalog] => global | |
[is_logged_in] => 1 | |
[shopper_group_manufactures] => | |
[value] => 1 | |
[text] => Default Private | |
) | |
) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment