Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
| <?xml version="1.0" encoding="utf-8" ?> | |
| <rss version="2.0" xmlns:g="http://base.google.com/ns/1.0"> | |
| <channel> | |
| <title>Data feed Title</title> | |
| <link>{base_url}</link> | |
| <description>Data feed description.</description> | |
| {each type="product"} | |
| <item> | |
| <g:id>{sku}</g:id> | |
| <title><![CDATA[{name,[html_entity_decode]}]]></title> |
| <?php | |
| /* | |
| ############### Exemplo do XML do Jacotei | |
| Basta chamar o price com as funcões assim: | |
| <parcelas>{price,[numerototalparcelas]}</parcelas> | |
| <valor>{price,[valortotalparcelas]}</valor> | |
| */ |
| $_product = $this->getProduct(); | |
| <table width="90%" align="center"class="data-table dados"> | |
| <?php if ($categoriaproduto = $this->getProduct()->getAttributeText('categoria_produto')):?> | |
| <tr class="odd"> | |
| <td class="cart_name">Categoria:</td> | |
| <td width="80%"><?php echo $categoriaproduto;?></td> | |
| </tr> | |
| <?php endif;?> | |
| </table> |
| public function findToArray($id) | |
| { | |
| $result = $this->find($id)->toArray(); | |
| return $result; | |
| } |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
There are two main modes to run the Let's Encrypt client (called Certbot):
Webroot is better because it doesn't need to replace Nginx (to bind to port 80).
In the following, we're setting up mydomain.com.
HTML is served from /var/www/mydomain, and challenges are served from /var/www/letsencrypt.
| # This is an annotated subset of the Nginx configuration from our Magento production platform @ www.hypernode.com | |
| # See https://www.byte.nl/blog/magento-cacheleak-issue | |
| # !!!! If you are a Hypernode customer, do not use this config as it will result in duplicate statements. !!!!! | |
| user app; | |
| worker_processes 4; | |
| pid /var/run/nginx.pid; | |
| events { |