While our team is here trying to assist, we are asking for some patience on the matter. These solutions can take some time to develop.
Our 2nd tier team has revised the code to remove the use of the double quotes to use single quotes.
/**
* Enforce the shop rewrite rule (to workaround an issue where it is mistakenly translated to butik)
*/
add_filter( 'product_rewrite_rules', 'ts_enforce_shop_rewrite' );
function ts_enforce_shop_rewrite( $rules ){
if ( is_array( $rules ) ){
$rules['shop/?$'] = 'index.php?post_type=product';
$rules['shop/page/([0-9]{1,})/?$'] = 'index.php?post_type=product&paged=$matches[1]';
}
return $rules;
}
If the above does not work then a full solution will need to be given from the development team. At this point I cannot say when they will be able to have a look at it as due process will need to be followed should it be needed.
What this means is that the tasks will need to be organised by severity and number of users experiencing the problem to prioritise accordingly.