Jump to content



Member Since 22 Feb 2013
Offline Last Active Dec 09 2013 10:54 PM

Topics I've Started

Issue displaying price inc. tax

22 April 2013 - 04:44 AM

Has anyone been able to successfully display prices including tax in the front end of the shopfront when product price does not include tax and tax is calculated on top of the price?

Our previous model of tax calculation was to input product prices including our 10% tax and have our tax methods set as "Price Includes Tax" - however we now need to move to having prices excluding tax and can't seem to get the store to output the including-tax price in the right places.

We have the settings enabled "Display prices with taxes on category/product pages if the method of calculating taxes is based on a unit's price" and "Display prices with taxes on cart/checkout pages if the method of calculating taxes is based on a unit's price". Both are checked for all storefronts in our Ultimate v3 installation, and I've tested it both with and without tax calculations based on default location, in a fresh store, and on the demo store. Our product prices are without tax, and our tax calculation method is not "Price Includes Tax" - so the prices are showing up on a product/category level with out any issues. However I can't get the mini-cart amount or the unit price amount in the regular cart to use the including-tax price rather than the original price.

This is confusing our customers who add product x to their cart for $10.00 (price inc. tax), however the subtotal of the minicart shows up as $9.09 (price exc. tax) and the unit price in the cart shows as $9.09.

I assumed the "Display prices with taxes on cart/checkout pages if the method of calculating taxes is based on a unit's price" setting would list the prices inc. taxes in the mini cart and upon checkout however this setting is having no effect on our storefront. If it doesn't, I'm not sure what that setting is referring to.

Is this a bug anyone else is experiencing in v3 and/or Ultimate when using prices without tax included in the back end and when needing to output the price including tax to customers in your storefronts?

Any help would be greatly appreciated from those with successful implementations of tax methods or any experience with this issue - thank you!

Add user group data in order confirmation email

11 April 2013 - 01:36 AM


Just wondering if someone could point me in the right direction - I'm attempting to include usergroup data in the subject of the order confirmation emails that get sent to the orders department so Wholesale orders can be easily separated from regular consumer orders. Has anyone been successful in pulling up the right variable in order_notification.tpl? Something similar to using either

{if $user_data.usergroups[$usergroup.usergroup_id] == "10"}Wholesale{/if}


{if $smarty.session.auth.usergroup_Ids && $smarty.session.auth.usergroup_Ids|in_array:10}Wholesale{/if}

.. however neither of these solutions return the correct results.

Any pointers would be greatly appreciated.


Top-container blocks displayed per category

22 February 2013 - 03:37 AM

Hi all,

Relatively new to Smarty hooks and very new to the CS-Cart system, but so far so good. I was wondering if anyone had any thoughts on breaking the top container section, which currently displays on all pages by default?

I'm trying to implement a particular HTML block and menu block to be displayed on a per-category basis in the top container with minimal editing of core files - preferably by using blocks, but happy to use hooks if the need be.

My client's company is multi-branded and we're trying to allow customers to navigate both by singular brands, and by general product categories across all brands - hence the two-layered nav bar that changes by active category. Have a look at it here:

From the images below: 1.png shows the index location at /cstemp, with the top nav bar with the home and logo icons (currently a HTML block) running horizontally at the top, and the categories menu (also a block) running horizontally below it.

When the user navigates to /cstemp/airwrap/ in image 2.png, I'd like the top-container blocks to change to the appropriate 'airwrap' top nav bar icons (a different HTML block) and the appropriate 'airwrap' menu block.

At the moment the CSS changes are implemented by using <body class="{$category_data.seo_name}"> which calls upon the categories unique SEO name to determine what CSS values to utilise. Is there a similar approach that can designate what blocks or HTML content to use?

If someone has implemented this functionality to their site before, I'd be really keen to know more about your methods - thanks in advance for any advice you guys can offer here!