Jump to content

wrong emails links


Recommended Posts

Can't find solution… help please,

 

presta 1.5.6.2 multistore

4 languages ( 8 domains)

 

email to customers:

- order confirmation - correct links in all 4 languages

- bank transfer details - correct links in all 4 languages

- order shipped - wrong links in all 4 languages

- preparation in progress - wrong links in all 4 languages

- shipping number added - wrong links and no shipping number in email

 

all translations correct, only links to wrong sites

 

I thought the problem can be with main shop domain, but the main domain is in spanish, but the link from this main spanish shop looks like www.xxx.es/my-account - english is not the main domain language…. can't figure it out :(

 

help please

Edited by bsm (see edit history)
Link to comment
Share on other sites

I'm trying to correct my file, but for example in my file it looks: (and row counts is different as well)

 

public static function getMainShopDomain($id_shop = null)
{
ShopUrl::cacheMainDomainForShop($id_shop);
return self::$main_domain[(int)$id_shop];
 
so how to correct with forge: 
- public static function getMainShopDomain()     + public static function getMainShopDomain($id_shop = null)     {     - if (!self::$main_domain)     + if (!self::$main_domain || $id_shop !== null)     self::$main_domain = Db::getInstance()->getValue('SELECT domain
Link to comment
Share on other sites

×
×
  • Create New...