Thanks eComLab for reverting back on this post. What I observe is that I don't [size=4]have [font=arial,helvetica,sans-serif][color=#000000]design[/color][color=#666600]/[/color][color=#000000]themes[/color][color=#666600]/[/color][color=#000000]basic path available in my root directory. Seems like it got replaced by the VIVAShop theme installation. But when I downloaded the fresh CS-cart, there also the file under [/color][/font][/size]design/themes/basic/mail/templates/shipments/shipment_products.tpl is same to as of VIVAShop.
Seems like problem is something else. Kindly help on this.
NOTE: Do you think if I create basic/mail/templates/shipments/shipment_products.tpl path under design/themes/ will make this work?
As regards the other issue, as far as I see from the .doc file provided earlier, you used your custom carrier in the first case and the standard one in the second one. So it seems to me that the URL was not set for the new carrier. Please check if the modifications Swimcommunications mentioned are applied properly:
where NEW_CARRIER should be replaced with your carrier name and YOUR_TRACKING_URL with the URL provided by your shipping carrier to track orders. Save the file.
Add the same part of code to the design/themes/[YOUR_ACTIVE_THEME]/mail/templates/common/carriers.tpl file of your CS-Cart installation. Save the file and check the results.
[/quote]
Please note that in case you create multiple custom carriers, you should add such parts of code for each of them. I hope this will help.
We have followed each and every step which were given by swimcom but problem is same what I have reported that Tracking Links in emails are not Clickable. Instead of adding NEW CARRIERS to existing, we have removed existing and replaced them with new ones at below mentioned paths:
Thanks eComLab for reverting back on this post. What I observe is that I don't [size=4]have [font=arial,helvetica,sans-serif][color=#000000]design[/color][color=#666600]/[/color][color=#000000]themes[/color][color=#666600]/[/color][color=#000000]basic path available in my root directory. Seems like it got replaced by the VIVAShop theme installation. But when I downloaded the fresh CS-cart, there also the file under [/color][/font][/size]design/themes/basic/mail/templates/shipments/shipment_products.tpl is same to as of VIVAShop.
Seems like problem is something else. Kindly help on this.
NOTE: Do you think if I create basic/mail/templates/shipments/shipment_products.tpl path under design/themes/ will make this work?
[/quote]
Please attach the design/themes/VIVASHOP_THEME/mail/templates/shipments/shipment_products.tpl file here
If you did not clear the template cache after modifying the [color=#282828][font=arial, verdana, tahoma, sans-serif]carriers.tpl files, please try it.[/font][/color]
Please let us know what modifications are required in this file so that we can make those changes. Is there some specific template cache we have to clear. I am aware of normal cache clear which we perform from Admin panel.
Please let us know what modifications are required in this file so that we can make those changes. Is there some specific template cache we have to clear. I am aware of normal cache clear which we perform from Admin panel.
[/quote]
[color=#282828][font=arial, verdana, tahoma, sans-serif]Yes, the file looks unmodified. [/font][/color]To clear the cache, please use the following URL:
This was the response i got from cscart, which i assume they won't mind me reposting. Thought i'd post for others. Note this worked for me in cs-cart v 4.1.3.
Create the new_carrier.sql file with the following content:
where NEW_CARRIER should be replaced with your carrier name.
Restore this file in the Restore tab of the Administration > Database page in your admin panel.
2. Open the Administration > Languages > Translations page and create the carrier_NEW_CARRIER language variable where NEW_CARRIER is your new carrier name. Enter your carrier name in the Value field of this variable.
3. Open the design/themes/[YOUR_ACTIVE_THEME]/templates/common/carriers.tpl file of your CS-Cart installation and add this part of code:
where NEW_CARRIER should be replaced with your carrier name and YOUR_TRACKING_URL with the URL provided by your shipping carrier to track orders. Save the file.
Add the same part of code to the design/themes/[YOUR_ACTIVE_THEME]/mail/templates/common/carriers.tpl file of your CS-Cart installation. Save the file and check the results.
I tried to make similar amends but wanted to avoid having to modify carriers.tpl and instead use hooks or when necessary overrides.
Creating a hook for design/themes/[YOUR_ACTIVE_THEME]/templates/common/carriers.tpl simply would not work. whether .pre.tpl, .post.tpl or .override.tpl
This was apparently due to Smarty not being able to pass variables between hook template and parent template.
So instead I opted for creating full template override:
I actually went back to using the hook instead of override and found the way to pass back the variables $carrier_name and $url back to parent template.
I have followed these steps (Database insert and the two Carriers.tpl), and I get the new carrier in the list. I am able to choose it.
The link in the email is not clickable.
Is there any easy fix for this?
CS-cart-team should really implement a FREE integrated module for this, Since this is a basic task ..
There is one carrier module, but it cost 45 euro ..