Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Shipping_Id Value Selector Rate Topic   - - - - -

 
  • allgaguzzi
  • Member
  • Trial users
  • Join Date: 31-Aug 11
  • 24 posts

Posted 18 October 2019 - 09:18 AM #1

Hi,

 

If my shipping method id is  17
I need to display the custom wrapper

on my checkout page.

But i have no luck in doing it

{if $shipping.shipping_id == 17}

It displays my wrapper

{else}

dont' display anything

{/if}

Does anyone knows how can I check for the shipping_id value in my .tpl? 



Kind regards


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19793 posts

Posted 18 October 2019 - 01:27 PM #2

Try to check the following array

$cart.chosen_shipping

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.