Search found 1660 matches

Search found 1660 matches

Re: Extra opties weergave productinformatie

Alvast bedankt ? Dus je verwacht de benodigde code ? Ok, bij deze: In catalog/controller/product/product.php: Vóór: $data['products'] = array(); Voeg in: $data['dit_formaat'] = $this->length->format($product_info['length'], $product_info['length_class_id'], $this->language->get('decimal_point'), $th...

Jump to post
  • Sun Apr 11, 2021 6:28 pm
  • Replies 4
  • Views 430
Re: php object model?

- Add invoice_date datetime NOT NULL to table 'order'
- Get invoice_date from order
- Add text and date to shipping and invoice template

Faster to write modification then explaining all the steps ...
- Download attachment and install using extensions - Installer
- After that Refresh Modifications

Jump to post
  • Sun Mar 28, 2021 5:52 pm
  • Replies 8
  • Views 373
Re: problems installing on one.com error messages

Warning: fopen(/customers/d/4/3/aboveyou.se/_private/storage/logs/error.log): failed to open stream: No such file or directory Folder cannot be created in /customers/d/4/3/aboveyou.se/ - Create folder _private in /customers/d/4/3/aboveyou.se/httpd.www/ and change path in both config.php and admin/c...

Jump to post
  • Tue Mar 23, 2021 4:46 pm
  • Replies 1
  • Views 138
Re: cant get redirects to work!!

Check if .txt is removed from default .htaccess.txt and it starts with .
When .htaccess is in use, SEO url's are working as well.

Jump to post
  • Wed Mar 10, 2021 7:35 pm
  • Replies 23
  • Views 464
Re: cant get redirects to work!!

Edit .htaccess
After:

Code: Select all

RewriteEngine On
Add:

Code: Select all

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

RewriteCond %{HTTPS} Off [NC]
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L,R=301]

Jump to post
  • Wed Mar 10, 2021 6:42 pm
  • Replies 23
  • Views 464
Re: Images in folder image/cache should be expired

In admin/model/catalog/product.php after public function deleteProduct($product_id) { Paste : $deleted_images = array(); $first_image_query = $this->db->query("SELECT image from " . DB_PREFIX . "product WHERE product_id = '" . (int)$product_id . "'"); $product_images = $this->getProductImages($produ...

Jump to post
  • Wed Mar 10, 2021 4:31 pm
  • Replies 7
  • Views 338
Re: I installed my store into a folder within the public html >:(

Create an landing page in public_html Copy code and save as index.php. After editing the titles and url's, upload to folder public_html <!DOCTYPE html> <!--[if IE]><![endif]--> <!--[if IE 8 ]><html dir="lr" lang="nl" class="ie8"><![endif]--> <!--[if IE 9 ]><html dir="lr" lang="nl" class="ie9"><![end...

Jump to post
  • Fri Mar 05, 2021 4:44 pm
  • Replies 10
  • Views 334
Re: Please inform me of a way to reduce the size of the video when adding it in the product description

Try putting video embedding iframe in responsive div:

Code: Select all

<div class="col-xs-12 embed-responsive embed-responsive-16by9"> 
    <iframe ......>
</div>

Jump to post
  • Sat Feb 20, 2021 6:33 pm
  • Replies 5
  • Views 437
Re: need your help to convert php conroller file module 2.3 to 3.0.3.1

Try this ... Note: Needs templatefile 'icredit.twig' <?php class ControllerExtensionPaymentIcredit extends Controller { private $error = array(); public function install() { $this->db->query("CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "iCredit` ( `id_icredit` int(1) NOT NULL AUTO_INCREMENT, `enable...

Jump to post
  • Sat Feb 20, 2021 4:44 pm
  • Replies 2
  • Views 156
Re: Extra opties weergave productinformatie

Moeilijk te zeggen zo zonder informatie over gebruikte versie en theme. Globaal: - Voeg enkele variabelen toe aan de controller product.php die de waardes voor lengte, breedte, hoogte en gewicht, geleverd door het model product, kunnen bevatten. - Formatteer die waardes naar leesbare tekst door gebr...

Jump to post
  • Mon Feb 08, 2021 9:27 pm
  • Replies 4
  • Views 430
Re: [SOLVED] Featured section not rendering <p> or <br>

Indeed. I did not author anything.
Only answered the question from TS CJC

Where are those coming from?

Jump to post
  • Sat Feb 06, 2021 8:34 pm
  • Replies 100
  • Views 3033
Re: Featured section not rendering <p> or <br>

Any ideas why this happens? Also, the 2 periods at the end are not part of the description either. Where are those coming from? 'description' => utf8_substr(strip_tags(html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('theme_' . $this->config->get('config...

Jump to post
  • Thu Feb 04, 2021 11:05 pm
  • Replies 100
  • Views 3033
Re: How to make decimals smaller?

Edit system/library/cart/currency.php After: $string .= number_format($amount, (int)$decimal_place, $this->language->get('decimal_point'), $this->language->get('thousand_point')); Add: $dd = '<sup>' . substr($string, (-1 * (int)$decimal_place)) . '</sup>'; $string = substr_replace($string, $dd, (-1 ...

Jump to post
  • Fri Jan 29, 2021 5:18 pm
  • Replies 3
  • Views 235
Re: Hide modules

<file path="admin/controller/marketplace/extension.php"> <operation> <search><![CDATA[$files = glob(DIR_APPLICATION . 'controller/extension/' . $extension . '/*.php', GLOB_BRACE);]]></search> <add position="replace"><![CDATA[ $files = array(); $this_files = glob(DIR_APPLICATION . 'controller/extens...

Jump to post
  • Mon Jan 25, 2021 6:25 pm
  • Replies 20
  • Views 2587
Re: Checkout mist stappen

- Controleer of de producten verzonden kunnen worden. Catalogus - Producten - Product tabblad Gegevens : 'Requires Shipping' -> Ja - Vul, afhankelijk van de gebruikte verzendmethode, ook afmetingen en gewicht in - Extensies - Extensies : Verzendmethoden -> Welke methode is geïnstalleerd en actief ? ...

Jump to post
  • Sat Jan 23, 2021 5:11 pm
  • Replies 2
  • Views 242
Re: Product Images Disappeared

- When GD not installed, OC fails to install. - When paths are correct in config and images are present but no thumbs / resized images are created in cache, please check PHP version. - When on PHP 8.0, GD uses class object instead of resource ( https://php.watch/versions/8.0/gdimage ) Edit system/li...

Jump to post
  • Thu Dec 31, 2020 5:18 pm
  • Replies 21
  • Views 1108

Search found 1660 matches