Prestashop: Edit Meta Title Info

Posted on

My Goal: I want the Title of the page to show, ¬†Manufacturer Name - Part Number   Steps: Go to Meta.php Go to the Section getProductMetas   public static function getProductMetas($id_product, $id_lang, $page_name) { $sql = 'SELECT `name`, `meta_title`, `meta_description`, `meta_keywords`, `description_short`, `reference` FROM `'._DB_PREFIX_.'product` p LEFT JOIN `'._DB_PREFIX_.'product_lang` pl ON (pl.`id_product` = p.`id_product`'.Shop::addSqlRestrictionOnLang('pl').') '.Shop::addSqlAssociation('product', […]


Apache: Edit Listing Format

Posted on

This is accomplished by adding some directives on the .htaccess. The first step is to enable the .htaccess in your directory, this needs to be enables in /etc/apache2/apache2.conf   CHANGE <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride ALL Require all granted </Directory>   TO <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride ALL Require all granted </Directory>   […]


ESXI: On what HD is the OS Installed

Posted on

Sources:   I'm on the process of replacing a couple of old hard drives on my ESXi Server, but I don't know where the OS is Installed. esxcfg-info -e Run the following command. esxcli system boot device get Output: Boot Filesystem UUID: 7f1ee37c-7b1bb9f9-574b-eca50bbdb3c2 Boot NIC: Stateless Boot NIC: The next question is how to […]


Openbravo: Add Field

Posted on

Create Field on Table ALTER TABLE c_order ADD COLUMN tracking_number VARCHAR(32); Create Record on "Tables and Colums" Only Click Create Columns from DB Add Field to "Windows, Tabs and Fields Only Click Create Fields After you do this you need to restart openbravo  sudo /etc/init.d/openbravo stop