MODIFICATIONS

  • Générer Google Sitemap ID:3
  • Générer Google Sitemap ID:5
  • Générer Google Sitemap ID:7
  • Modifier les statuts de commande dans l'admin
  • Ajouter des statuts de commande
  • Modifier les balises H1 & H2
  •  

    Modifier les statuts de commande dans l'admin
    I think the obstacle is in how magento handles order states - magento might not be changing order states hence being locked into pending until shipment. http://www.magentocommerce.com/boards/viewthread/653/
    I was able to activate all the order statuses by adding all statuses to all states. here’s how i did it…

    locate config.xml under Magento\app\code\core\Mage\Sales\etc\

    Find this code block
    <states>
      <new 
    translate="label">
        <
    label>New</label>
        <
    statuses>
          <
    pending/>
        </
    statuses>
      </new>
      <
    processing translate="label">
        <
    label>Processing</label>
        <
    statuses>
          <
    processing/>
        </
    statuses>
      </
    processing>
      <
    complete translate="label">
        <
    label>Complete</label>
        <
    statuses>
          <
    complete/>
        </
    statuses>
      </
    complete>
      <
    closed translate="label">
        <
    label>Closed</label>
        <
    statuses>
          <
    closed/>
        </
    statuses>
      </
    closed>
      <
    canceled translate="label">
        <
    label>Canceled</label>
        <
    statuses>
          <
    canceled/>
        </
    statuses>
      </
    canceled>
      <
    holded translate="label">
        <
    label>On Hold</label>
        <
    statuses>
          <
    holded/>
        </
    statuses>
      </
    holded>
    </
    states>
    change to

    <states>
      <new 
    translate="label">
        <
    label>New</label>
        <
    statuses>
          <
    pending/>
          <processing/>
          <
    complete/>
          <
    closed/>
          <
    canceled/>
          <
    holded/>
        </
    statuses>
      </new>
      <
    processing translate="label">
        <
    label>Processing</label>
        <
    statuses>
          <
    pending/>
          <processing/>
          <
    complete/>
          <
    closed/>
          <
    canceled/>
          <
    holded/>
        </
    statuses>
      </
    processing>
      <
    complete translate="label">
        <
    label>Complete</label>
        <
    statuses>
          <
    pending/>
          <processing/>
          <
    complete/>
          <
    closed/>
          <
    canceled/>
          <
    holded/>
        </
    statuses>
      </
    complete>
      <
    closed translate="label">
        <
    label>Closed</label>
        <
    statuses>
          <
    pending/>
          <processing/>
          <
    complete/>
          <
    closed/>
          <
    canceled/>
          <
    holded/>
        </
    statuses>
      </
    closed>
      <
    canceled translate="label">
        <
    label>Canceled</label>
        <
    statuses>
          <
    pending/>
          <processing/>
          <
    complete/>
          <
    closed/>
          <
    canceled/>
          <
    holded/>
        </
    statuses>
      </
    canceled>
      <
    holded translate="label">
        <
    label>On Hold</label>
        <
    statuses>
          <
    pending/>
          <processing/>
          <
    complete/>
          <
    closed/>
          <
    canceled/>
          <
    holded/>
        </
    statuses>
      </
    holded>
    </
    states>

    make sure to refresh your cache.
    Ajouter des statuts de commande
    to add a status just add a status between the “statuses” tag

    locate config.xml under Magento\app\code\core\Mage\Sales\etc\
    <statuses>
       ...
       <
    cash   translate="label"><label>Cash</label></cash>
    </
    statuses>
    change to
    <pending translate="label">
      <
    label>Pending</label>
      <
    statuses>
         <
    pending/>
           ...
           <
    cash />  
      </
    statuses>
    </
    pending>
    make sure to refresh your cache.
    Modifier les balises H1 et H2
    STEP 1 - Changing the Product Page H3 tag to H1 Tag


    To do this, you first need to open up the product template file:

    /app/design/frontend/default/default/template/catalog/product/view.phtml

    Look for

    <h3 class="product-name"><?php echo $this->htmlEscape($_product->getName()) ?></h3>

    And change that to

    <h1 class="product-name"><?php echo $this->htmlEscape($_product->getName()) ?></h1>

    STEP 2 - Removing the H1 Tags from the Logo in the Header


    To do this, you first need to open up the header template file:

    /app/design/frontend/default/default/template/page/html/header.phtml

    Look for

    <h1 id="logo"><a href="<?php echo $this->getUrl('') ?>"><img src="<?php echo $this->getLogoSrc() ?>” alt="<?php echo $this->getLogoAlt() ?>” /></a></h1>

    And change that to

    <div id="logo"><a href="<?php echo $this->getUrl('') ?>"><img src="<?php echo $this->getLogoSrc() ?>” alt="<?php echo $this->getLogoAlt() ?>” /></a></div>

    STEP 3 - Fixing up the CSS for #logo


    Now you need to fix up the CSS so it looks the same as before.

    To do this, you first need to open up the css file that contains this code:

    /skin/adminhtml/default/default/boxes.css

    Look for

    h1#logo {

    and change it to

    #logo {
    Supprimer les retours à  la ligne ajoutés dans les descriptions


    In file /app/design/frontend/default/{YOUR-TEMPLATE}/template/catalog/product/view.phtml

    Change line:

    getShortDescription()) ?>


    TO

    getShortDescription() ?>


    Augmenter le refresh des règles de prix Catalogue à  1 mois


    in app/code/core/Mage/Adminhtml/controllers/Promo/CatalogController.php on line 186 there’s this line:

    $resource->applyAllRulesForDateRange($resource->formatDate(mktime(0,0,0)));

    It needs 2nd parameter to specify more than one day range:

    $resource->applyAllRulesForDateRange($resource->formatDate(mktime(0,0,0)), $resource->formatDate(mktime(0,0,0)+2592000));