Open to all! Ask other shopowners for help.
Kofod95
Senior Contributor
Posts: 748 Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times
Post
by Kofod95 » Tue Jun 28, 2022 8:29 am
Omar_one wrote: ↑ Sun Jun 26, 2022 11:44 am
the zip file missing the hook (includes\hooks\admin\catalog\productMeassures) and the hook language file
Br
Omar
Zip should be updated now. Thank you!
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns:
Phoenix user guide
Omar_one
Senior Contributor
Posts: 679 Joined: Fri Oct 25, 2019 5:06 pm
Phoenix Version: v1.0.8.16
Has thanked: 100 times
Been thanked: 56 times
Post
by Omar_one » Sat Jul 02, 2022 7:27 pm
@Kofod95 on product_info page I got error when I try to Show in metric/imperial scale
the error I got it if Default is metric and if the product don't have weight
the error
Code: Select all
Warning
: Illegal string offset 'imperial' in
C:\xampp\xxxxx\test\includes\modules\pi\product_info\templates\tpl_pi_meassures.php
on line
27
changing the line 27 to
Code: Select all
<?php if(empty($products_weight > 0)) echo sprintf(PI_MEASSURES_DISPLAY_WEIGHT, $products_weight[$anti_scale], $weight_meassure[$anti_scale]); ?>
the error gone
BTW. there is two button for showing in metric/imperial scale (product_info page)
Br
Omar
Kofod95
Senior Contributor
Posts: 748 Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times
Post
by Kofod95 » Tue Jul 05, 2022 8:43 am
Omar_one wrote: ↑ Sat Jul 02, 2022 7:27 pm
Code: Select all
Warning: Illegal string offset 'imperial' in
C:\xampp\xxxxx\test\includes\modules\pi\product_info\templates\tpl_pi_meassures.php
on line 27
Thank you - I have corrected this and done some cleaning.
Omar_one wrote: ↑ Sat Jul 02, 2022 7:27 pm
BTW. there is two button for showing in metric/imperial scale (product_info page)
I guess I should leave things for a day and come back with fresh eyes..
Thank you!
//Daniel
You do not have the required permissions to view the files attached to this post.
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns:
Phoenix user guide
Omar_one
Senior Contributor
Posts: 679 Joined: Fri Oct 25, 2019 5:06 pm
Phoenix Version: v1.0.8.16
Has thanked: 100 times
Been thanked: 56 times
Post
by Omar_one » Mon Jul 11, 2022 2:11 pm
@Kofod95
Everything seems to be good