savinzeek Posted September 6, 2015 Share Posted September 6, 2015 Hi.I'm have some problem with upgrading my prestashop 1.6. My problem is on checkout page(step 4 shipping). I want to find out how to get country name(or some id) order should be delivered to. I start to change order-carrier.tpl and add <input type="hidden" value="{$cart->id_address_delivery}"/> Result is I get some number. I didn't find info what this number point to. <div class="delivery_option_price"> <input type="hidden" value="{$cart->id_address_delivery}"/> {if $option.total_price_with_tax && !$option.is_free && (!isset($free_shipping) || (isset($free_shipping) && !$free_shipping))} {if $use_taxes == 1} {if $priceDisplay == 1} {convertPrice price=$option.total_price_without_tax}{if $display_tax_label} {l s='(tax excl.)'}{/if} {else} {convertPrice price=$option.total_price_with_tax}{if $display_tax_label} {l s='(tax incl.)'}{/if} {/if} {else} {convertPrice price=$option.total_price_without_tax} {/if} {else} {l s='Free'} {/if} </div> Maybe there is a other way or my way is correct but not finished? Thanks for everyone who give even a small help to me with this. Link to comment Share on other sites More sharing options...
savinzeek Posted September 8, 2015 Author Share Posted September 8, 2015 Does really nobody don't want to help? Please I really need help. Thanks. Link to comment Share on other sites More sharing options...
savinzeek Posted September 8, 2015 Author Share Posted September 8, 2015 Is my explanation is bad or I made a mistake in post? Link to comment Share on other sites More sharing options...
savinzeek Posted September 9, 2015 Author Share Posted September 9, 2015 Is anybody know how can I get a country name from step#3(Address) of order-checkout when I'am on step#4("Shipping")? In what variable ($cart ->…) this type of info placed? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now