Re: Opencart 2 php code to - opencart 3 twig?
Thanks pprmkr, it works.
Jump to post- Thu Nov 21, 2019 8:00 am
- Replies 5
- Views 714
Opencart 2 php code to - opencart 3 twig?
I used this code in opencart 2.3: <?php echo str_replace(array('-300x300.jpg', '-'), array('', ' '), basename($thumb)); ?> to change product image alt tag to product image name instead product name. How to convert this code to twig, i would like to use this in opencart 3? I tried some online convert...
Jump to post- Thu Nov 21, 2019 12:25 am
- Replies 5
- Views 714
Re: Customers passwords?
I would like to make new registration for all old customers on new opencart store.
I must know password of every customer to do this.
- Wed Oct 09, 2019 9:09 pm
- Replies 6
- Views 1517
Customers passwords?
I want to migrate customers to new opencart 3 store.
I would like to know, is it possible to see customers passwords-i want to make migration manually?
- Wed Oct 09, 2019 8:21 pm
- Replies 6
- Views 1517
Re: ocmod misunderstanding?
I am confused, is it possible to use two ocmod wich target same file?
Jump to post- Tue Aug 20, 2019 10:02 pm
- Replies 4
- Views 525
ocmod misunderstanding?
I am experimenting with ocmod on XAMPP, and some things i don't understand. If i make two ocmod to change product page, separately works fine but second ocmod not works if first ocmod enabled. I concluded, i need to consider the changes in earlier ocmod when making second ocmod. For example, if i de...
Jump to post- Sat Aug 17, 2019 4:00 am
- Replies 4
- Views 525
Re: How to add css with ocmod?
Is there some recommended folder for custom.css?
Jump to post- Tue Mar 19, 2019 7:40 pm
- Replies 10
- Views 2327
Re: How to add css with ocmod?
I found this:
Code: Select all
$this->document->addStyle('custom.css');
- Mon Mar 18, 2019 8:16 pm
- Replies 10
- Views 2327
Re: How to add css with ocmod?
How to use this file to add custom css?
Jump to post- Wed Feb 27, 2019 7:15 am
- Replies 10
- Views 2327
Re: How to add css with ocmod?
Please, more detailed explanation.
Which header.php, several exist?
- Wed Feb 27, 2019 1:05 am
- Replies 10
- Views 2327
Re: How to add css with ocmod?
I succeed via header.twig and custom.css
Jump to post- Tue Feb 26, 2019 9:56 am
- Replies 10
- Views 2327
How to add css with ocmod?
How to add custom css with ocmod?
I tried to add custom css in stylesheet.css with ocmod, but not work.
- Tue Feb 26, 2019 8:24 am
- Replies 10
- Views 2327
Re: PHP 7 opencart checkout registration SyntaxError???
I contacted my hosting, and he ask me to use SMTP.
From begining SMTP not working for me, i have "PHP Warning: fsockopen(): unable to connect to..." error.
I tryed every solution from forum, but SMTP for gmail can't working.
- Wed Dec 12, 2018 10:48 pm
- Replies 11
- Views 991
Re: PHP 7 opencart checkout registration SyntaxError???
I have this error in opencart error logs:
PHP Warning: mail() has been disabled for security reasons in /*/*/public_html/system/library/mail.php on line 158
Can it be reason, php mail enabled for PHP 5.6 but disabled for PHP 7?
- Tue Dec 11, 2018 8:37 am
- Replies 11
- Views 991
Re: PHP 7 opencart checkout registration SyntaxError???
I really using custom checkout component(my first suspicion), but it is not problem.
For testing i turned off this component - and i have same error on default opencart checkout page.
- Mon Dec 10, 2018 11:29 pm
- Replies 11
- Views 991
Re: PHP 7 opencart checkout registration SyntaxError???
After sugestion, i tryed plenty encryption.php files, but problem persist.
What is right encryption.php file for opencart 2.3.0.2?
- Sun Dec 09, 2018 11:28 pm
- Replies 11
- Views 991
PHP 7 opencart checkout registration SyntaxError???
My opencart 2.3.0.2 site work fine on PHP 5.6, but when try to use PHP 7 on server i have error.
On checkout page if i try registration, i have this error:
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
OK
What can be problem on PHP 7?
- Sun Dec 09, 2018 9:51 am
- Replies 11
- Views 991
Re: Facebook pixel events adding?
Solved with: https://www.opencart.com/index.php?rout ... _license=0
Jump to post- Fri Mar 23, 2018 12:39 am
- Replies 4
- Views 710
Re: Facebook pixel events adding?
Opencart 2.3.0.2
Jump to post- Sat Mar 17, 2018 4:34 am
- Replies 4
- Views 710
Facebook pixel events adding?
I added default facebook pixel code in catalog/view/theme/default/template/common/header.tpl (before </head>).
Now i wish to add ViewContent events for products.
I suppose i need to add code in catalog/view/theme/default/template/product/product.tpl, but i am not sure where?
- Sat Mar 17, 2018 12:37 am
- Replies 4
- Views 710