antalya gergi tavan antalya duvar kağıdı

sale-sidebar-left.jpg and promote-sidebar-right.jpg in multi language shops

Home Support Free Theme: Access Shop sale-sidebar-left.jpg and promote-sidebar-right.jpg in multi language shops

This topic contains 3 replies, has 2 voices, and was last updated by AccessShopThemes Support AccessShopThemes Support 1 year, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4493

    gsmarsz
    Participant

    Hi,

    As you can see below I have placed a code from catalog.xml. I know how to change left and right sidebar images but I have no clue how to change them to have different images in different language versions of the shop.To make it transparent I want to have f.e. picture with English description named “sale-sidebar-left-ENG.jpg” in French shop “sale-sidebar-left-FR.jpg” and German “sale-sidebar-left-GER.jpg”. Physically it will be the same image but with sentences suitable for specific language.
    How to manage it ?

    http://s-distribution.com/e-platform/confectionery.html – hope this help to understand ( BTW site still under construction) after you change language – the sidebar picture is always in English.

    Thanks in advance for your help

    Greg

    CODE:
    <!– Mage_Catalog –>
    <reference name=”left”>
    <block type=”core/template” name=”left.permanent.callout” template=”callouts/left_col.phtml”>
    <action method=”setImgSrc”><src>images/sale-sidebar-left.jpg</src></action>
    <action method=”setImgAlt” translate=”alt” module=”catalog”><alt>HOT DEALS – every week new items. Check it out NOW !</alt></action>
    <action method=”setLinkUrl”><url>hot-deals.html</url></action>
    </block>
    </reference>
    <reference name=”right”>
    <block type=”catalog/product_compare_sidebar” before=”cart_sidebar” name=”catalog.compare.sidebar” template=”catalog/product/compare/sidebar.phtml”/>
    <block type=”core/template” name=”right.permanent.callout” template=”callouts/right_col.phtml”>
    <action method=”setImgSrc”><src>images/promote-sidebar-right.jpg</src></action>
    <action method=”setImgAlt” translate=”alt” module=”catalog”><alt>Keep your eyes open for our special HOT DEALS and save A LOT!</alt></action>
    <action method=”setLinkUrl”><url>hot-deals.html</url></action>
    </block>
    </reference>

    #4505

    Hi There,

    I guess there is no way just to change the xml or image as per language but You can call a static block on right sidebar and create the same static block identifier for different stores.

    You can put this code instead of above callto in catalog.xml

    <block type="cms/block" name="Promo">
        <action method="setBlockId"><block_id>promo</block_id></action>
    </block> 

    I was just checking and found this link:
    http://stackoverflow.com/questions/6470429/magento-static-cms-block-in-xml-layout-with-two-or-more-storeviews
    thought it would be helpful for you.
    Please check try and share your experience.

    Thanks!

    #4509

    gsmarsz
    Participant

    Done – works great.

    Left sidebar replacement
    Below block in catalog.xml (…app/design/frontend/accessshop/default/layout/catalog.xml)

    <!–<block type=”core/template” name=”left.permanent.callout” template=”callouts/left_col.phtml”>
    <action method=”setImgSrc”><src>images/sale-sidebar-left.jpg</src></action>
    <action method=”setImgAlt” translate=”alt” module=”catalog”><alt>HOT DEALS – every week new items. Check it out NOW !</alt></action>
    <action method=”setLinkUrl”><url>hot-deals.html</url></action>
    </block>

    was replaced by:
    <block type=”cms/block” name=”Promo”>
    <action method=”setBlockId”><block_id>promo</block_id></action>
    </block>

    After that for each language I created a new STATIC BLOCK (Promo left-FR,Promo left-ENG, Promo left-GER ) with Identifier “promo” ( the same as block_id in above code).

    In each block I’ve placed a code with link to destinantion page + link to the picture in desired language version.

    RIGHT PROMO SIDEBAR:

    The same action as above, just replaced block_id promo with promo-right

    <block type=”cms/block” name=”Promo-right”>
    <action method=”setBlockId”><block_id>promo-right</block_id></action>
    </block>

    –!>

    Created static blocks as above but Identifier “promo” has been replaced by “promo-right” ( the same as block_id in above code).

    Thanks for your help and immediate reaction for my request.

    Greg

    • This reply was modified 1 year, 9 months ago by  gsmarsz.
    #4520

    Anytime,
    Please leave us a review on our theme page too:
    http://www.magentocommerce.com/magento-connect/accessshop-lite-theme.html
    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

anal porno watch porn anal