All Activity

This stream auto-updates     

  1. Past hour
  2. They (SFWS) have been wonderful with helping troubleshoot the issue. Thanks.
  3. Today
  4. Orders to Show Customer Group

    I guess it will be a snippet. Enabled: checked Unique ID: orderlistcustgroups@cubecart600+ Execution Order: 99 Description: Adds Customer Group Name(s) to Admin Orders List Trigger: admin.order.index.list Version: 1.0 Author: forums.cubecart.com/topic/53037-orders-to-show-customer-group/ PHP Code: <?php if($smarty_data['list_orders']){ foreach($smarty_data['list_orders'] as &$snippet_orderlistcustgroups_order) { $group_membership = $GLOBALS['db']->misc('SELECT `group_name` FROM `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_customer_membership` AS M INNER JOIN `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_customer_group` AS G WHERE G.`group_id` = M.`group_id` AND M.`customer_id` = '.$snippet_orderlistcustgroups_order['customer_id'].';'); if (is_array($group_membership)) { foreach ($group_membership as $membership) {$member_groups[] = $membership['group_name'];} } $snippet_orderlistcustgroups_order['cust_groups'] = isset($member_groups) ? implode(',', $member_groups) : ''; unset($member_groups); } $GLOBALS['smarty']->assign('ORDER_LIST', $smarty_data['list_orders']); } Warning: This snippet reassigns modified source list data to the template variable. If another hook/snippet with an earlier execution order value retrieves and modifies the actual ORDER_LIST template assignment, that modification to the assignment will be lost. Just FYI.
  5. Yesterday
  6. Orders to Show Customer Group

    In admin, the Edit Order code directly queries the CubeCart_order_summary and CubeCart_order_inventory tables, and constructs its own array of data to populate the admin Edit Order template. This process could, if it wanted to, use Order::getOrderDetails(). I have no idea why it doesn't. I'll be back shortly with suggestions on where to add code (won't be a snippet) to show the customer group in the list of orders.
  7. Orders to Show Customer Group

    As always, you are right. Plus, I was using the wrong editor to place the {$BILLING.cust_groups}. It now shows on the email. Now it would be perfect if I could get that to show on the Order Summary. Since I'm still relatively new, I afraid, I don't even know where to begin looking. Thank you, Sir. R
  8. Orders to Show Customer Group

    Several points: The list of Macros shown is static informational text - the list is not dynamically derived from any sort of on-demand determination or query. Thus, any new template variables made available by plugin, code snippet, or hard coded will have no effect on the list of macros shown. The template line of code shows that it starts with an {if}, and the new variable is inside this block that only gets included if there is a Company Name. Only if there is a Company Name, then the Company Name and then the Groups will be shown. I have not verified where the admin Order Summary gets its info from. If the admin code uses the Order::getOrderDetails() function, then the customer groups will be available. One would need to edit an admin skin template to show it. I will check on that.
  9. Orders to Show Customer Group

    Ok... I'm missing something. I've added the snippet. I also went to the Admin: Order Received email template. The {$BILLING.cust_groups} was not listed as available macro... So, I added it... {if !empty($BILLING.company_name)}{$BILLING.company_name}{$BILLING.cust_groups} Not showing on the email. Would this also show in the Overview - order summary? That would be nice because, since the the person that normally receives the order email, is not always available. Her supervisor would login and handle the orders from there. He would not see the email. Thank you for your help. R
  10. I am seeing this with Firefox Quantum as well. Researching. May have something to do with FF misapplying CSS rules to @media print.
  11. Was there a solution to this? I've just encountered the same problem having changed my browser from Chrome to the new Firefox Quantum. I'm on CC6.1.12, which works perfectly on Chrome (and the older Firefox I was running before), however on FF Quantum the symptoms are as described above, i.e. the customer address prints OK on the first invoice but blank on the second and subsequent ones. It also shows as blank on the Firefox Print Preview. I've tried adjusting the page margins ("Page Setup") but this has no effect.
  12. Just use an install token again.
  13. Al, A dumb question and probably its obvious. How do we upgrade from Manage Extensions for this module?
  14. Category Filter

    There is no free extension available to do this, but I do have a commercial module which does this very well. As far as I am aware it's the only dynamic filter module available for CubeCart. It's a very powerful solution as it also offers dynamic menus based on your product attributes as an optional feature. You can see it in use here: https://www.doorsandfloors.co.uk/ https://www.cubecart.com/extensions/plugins/product-filters-filter-categories-and-build-menus-dynamically-using-product-metadata all my modules come with a no-obligation trial period, you can test it out and see how it works or if it's suitable for your requirements. if a week isn't long enough open a ticket via my support portal and I can offer extended demo periods.
  15. Category Filter

    Hi Guys, As I am new to Cube Cart, Is anybody could help me in setting or implement Filters for Product on Front End. Or any way Or any free extension available Any help will be appreciable. Thanks Rahul
  16. Thanks so much. I removed some comments and published it in 1.1.4.
  17. Checkout Proceedure

    You might want to look at the PayPal Express Checkout Gateway. I believe this is shown right from the start of the checkout process, allowing users to checkout directly using PayPal and thus skipping the registration process.
  18. Contact Daren at Semperfi, he's pretty good and won't let you down.
  19. Extension Installation

    This is the extension token: 91E9-2640-DF32-E0EF-F85B-78BE-17DC-B320 I am using "CubeCart-6.1.12" version for now. I just want to know one thing that i am new to Cube Cart is it good for further customization. Another concern when i am trying to login into back end on Chrome then getting attached error.
  20. Extension Installation

    If I recall correctly, there was an issue with CubeCart several versions past that had this problem. Maybe. Please remind us what version you are running. While it is certainly convenient to copy/paste the token, unbeknownst to you, you may have also included a leading tab, a trailing space, or some other invisible character that has not been trimmed away. If this is the case, try entering the token by hand. Finally, you can also simply download the module, unzip it locally, then FTP the contents to the appropriate folder on your site.
  21. Extension Installation

    Hi I am trying to install an extension on my local machine just using simple token which i copied from extension directly on Cube Cart Official Website (https://www.cubecart.com/extensions/shipping-methods/flat-rate). But I submit the token and click on Go Button then getting below error, Anyone could help me why I am getting this & how can i resolve this. Thanks Rahul
  22. Orders to Show Customer Group

    Please create this Code Snippet (admin, Manage Hooks, Code Snippets tab, Add Snippet link: Enabled: checked Unique ID: addcustgrps@cubecart600+ Execution Order: 99 Description: Adds Customer Membership Group Name(s) to Order Details Trigger: class.order.get_order_details Version: 1.0 Author: forums.cubecart.com/topic/53037-orders-to-show-customer-group/ PHP Code: <?php $snippet_addcustgrps_group_id_resultset = $GLOBALS['db']->select('CubeCart_customer_membership', false, array('customer_id' => $order_summary['customer_id'])); $snippet_addcustgrps_group_ids = []; foreach ($snippet_addcustgrps_group_id_resultset as $snippet_addcustgrps_group_id_record) { $snippet_addcustgrps_group_ids[] = $snippet_addcustgrps_group_id_record['group_id']; } $snippet_addcustgrps_group_name_resultset = $GLOBALS['db']->select('CubeCart_customer_group', 'group_name', array('group_id' => $snippet_addcustgrps_group_ids)); foreach ($snippet_addcustgrps_group_name_resultset as $snippet_addcustgrps_group_name_record) { $snippet_addcustgrps_group_names[] = $snippet_addcustgrps_group_name_record['group_name']; } $values['billing']['cust_groups'] = implode(', ',$snippet_addcustgrps_group_names); Assuming whatever is sending order summaries by email will be using Order::getOrderDetails(), which everything should, there will be this new data. The email templates use a $BILLING array. So, edit any and all templates (HTML and Plain Text) to include the string: {$BILLING.cust_groups} The result in the email could look something like: Spouse, Mistresses, Fav Escorts (depending on which group(s) this customer is assigned to).
  23. Here it is attached. gateway.class.php.zip
  24. Last week
  25. Cc v4 to v6

    Hi thanks for help again. Haven’t forgotten your previous message, just haven’t had chance to catch-up with the website owner yet. Regarding the above. Followed the link you sent, just kept the file and folder listed. Receive the following warning MySQLi construct hy000 1045. Access denied for user xx@localhost using password yes i really just wanted to test out various plugins under v6 with the current store data. Before moving to a new host if they decide to, so I’m more comfortable once the store is live. any ideas?
  26. Hello... It's the weekly question from the CC Noob, hoping you can help me. Is there a way to attach a customer group to an order? I have all of my customers (I have a limited, captive customer list) assigned to customer groups. When the order comes in, some of our people do not know who the customer/order comes from. If I have the customer group added to the order, it goes a long way on processing the order. Note on customer number: We use a Microsoft product for our accounting system. The first part of the customer group (a four digit number) corresponds with the accounting system customer ID, while the last part is a city designator (Example: 9876-NYNY). Thanks in advance for any help you might have. RLN
  27. You could zip it and attach it here. Thank you!
  28. Hello Al, I have implemented those mods. Let me know how to send it? Just attach it here? or email it to the support email for cube cart?
  29. Evening, Would like to give the developer of the module a chance to reply, but wanted to add that if you get stuck with getting this resolved then let me know, depending on what you need I probably have something already in my toolbox. I would recommend contact the developer via their support services in the first instance as I'm assuming no warrant means to data impacted by the module rather than the module itself.
  1. Load more activity