Jump to content

webdev0008

Members
  • Posts

    63
  • Joined

  • Last visited

3 Followers

Contact Methods

  • Skype
    webdev0008

Profile Information

  • Location
    india
  • Activity
    Developer

Recent Profile Visitors

3,901,402 profile views

webdev0008's Achievements

Newbie

Newbie (1/14)

24

Reputation

4

Community Answers

  1. check this http://forge.prestashop.com/browse/PSCSX-3004
  2. Hi Do you enabled SSL from Back office => Preferences => General.
  3. or simply add #subcategories{display:none;} in themes/your_theme_folder/css/category.css
  4. Hi While saving products please make sure the "Friendly URL" field is not empty in SEO Tab in products add/edit.
  5. Hi You can achieve this by creating the cart rule. remove free shipping price from shipping => preferences. Add a cart rule without code, in condition set Minimum amount and choose tax excluded, shipping excluded and in action choose free shipping.
  6. Yes, it is also a one of the way to achieve this.
  7. Hi this may help you window.open('your_url','_blank');
  8. Hi use this select c.id_customer, c.firstname, c.lastname, count(o.id_order) as ordercnt from ps_customer c left join ps_orders o on c.id_customer = o.id_customer group by o.id_customer
  9. Hi please check the shop domain and base uri in preference > seo & url as vekia mentioned. if it correct then click on save so it update your website .htacess.
  10. Hi Use this SELECT id_product FROM `ps_product` WHERE id_product not in (select id_product from ps_image)
  11. Hi Add this in themes/SELECTED_THEME_FOLDER/css/category.css #subcategories{display:none;}
  12. Hi you can add customer company in new order email by adding the template variable in modules/mailalerts/mailalerts.php. Add $template_vars['{customer_company}'] = $customer->company; below where $template_vars array is defined in hookActionValidateOrder function of modules/mailalerts/mailalerts.php. so the code look like $template_vars = array( '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{delivery_block_txt}' => MailAlert::getFormatedAddress($delivery, "\n"), '{invoice_block_txt}' => MailAlert::getFormatedAddress($invoice, "\n"), '{delivery_block_html}' => MailAlert::getFormatedAddress($delivery, '<br />', array( 'firstname' => '<span style="color:'.$configuration['PS_MAIL_COLOR'].'; font-weight:bold;">%s</span>', 'lastname' => '<span style="color:'.$configuration['PS_MAIL_COLOR'].'; font-weight:bold;">%s</span>')), '{invoice_block_html}' => MailAlert::getFormatedAddress($invoice, '<br />', array( 'firstname' => '<span style="color:'.$configuration['PS_MAIL_COLOR'].' font-weight:bold;">%s</span>', 'lastname' => '<span style="color:'.$configuration['PS_MAIL_COLOR'].'; font-weight:bold;">%s</span>')), '{delivery_company}' => $delivery->company, '{delivery_firstname}' => $delivery->firstname, '{delivery_lastname}' => $delivery->lastname, '{delivery_address1}' => $delivery->address1, '{delivery_address2}' => $delivery->address2, '{delivery_city}' => $delivery->city, '{delivery_postal_code}' => $delivery->postcode, '{delivery_country}' => $delivery->country, '{delivery_state}' => $delivery->id_state ? $delivery_state->name : '', '{delivery_phone}' => $delivery->phone ? $delivery->phone : $delivery->phone_mobile, '{delivery_other}' => $delivery->other, '{invoice_company}' => $invoice->company, '{invoice_firstname}' => $invoice->firstname, '{invoice_lastname}' => $invoice->lastname, '{invoice_address2}' => $invoice->address2, '{invoice_address1}' => $invoice->address1, '{invoice_city}' => $invoice->city, '{invoice_postal_code}' => $invoice->postcode, '{invoice_country}' => $invoice->country, '{invoice_state}' => $invoice->id_state ? $invoice_state->name : '', '{invoice_phone}' => $invoice->phone ? $invoice->phone : $invoice->phone_mobile, '{invoice_other}' => $invoice->other, '{order_name}' => $order->reference, '{shop_name}' => $configuration['PS_SHOP_NAME'], '{date}' => $order_date_text, '{carrier}' => (($carrier->name == '0') ? $configuration['PS_SHOP_NAME'] : $carrier->name), '{payment}' => Tools::substr($order->payment, 0, 32), '{items}' => $items_table, '{total_paid}' => Tools::displayPrice($order->total_paid, $currency), '{total_products}' => Tools::displayPrice($order->getTotalProductsWithTaxes(), $currency), '{total_discounts}' => Tools::displayPrice($order->total_discounts, $currency), '{total_shipping}' => Tools::displayPrice($order->total_shipping, $currency), '{total_tax_paid}' => Tools::displayPrice(($order->total_products_wt - $order->total_products) + ($order->total_shipping_tax_incl - $order->total_shipping_tax_excl), $currency, false), '{total_wrapping}' => Tools::displayPrice($order->total_wrapping, $currency), '{currency}' => $currency->sign, '{message}' => $message ); $template_vars['{customer_company}'] = $customer->company; and use {customer_company} in new_order email template where you want to display the customer company.
  13. Hi In Backoffice => Preferences > SEO & URLs change the Shop domain to www.octagon.com.ph, SSL domain to www.octagon.com.ph and Base URI to / under Set shop URL section.
×
×
  • Create New...