blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 16 Οκτ 2023 09:17 Hello Why i get failed in admin for this addon? I have insert all files Warning: Modification "Product star rating" failed during operation #2 in includes/templates/man.catalog/views/box_product.inc.php: Search not found in ~/includes/library/lib_vmod.inc.php (Line 210)
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 16 Οκτ 2023 20:42 if you click on the red "Failed", what do you see? Which operation fails? if operation 2 fails (according to the error), that means that it cant find this line: So find out if this line is present in [b]includes/templates/*.catalog/views/box_product.inc.php[/b]
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 16 Οκτ 2023 21:17 where should this line be inserted in that file 210?
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 16 Οκτ 2023 21:23 No, just open the file [b]includes/templates/man.catalog/views/box_product.inc.php [/b]and look if somewhere in this file is present. if you can't find this line, then we have to find another solution for inserting the code.
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 16 Οκτ 2023 21:25 No i don't find this in the file
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 16 Οκτ 2023 21:29 Can you upload the file [b]includes/templates/man.catalog/views/box_product.inc.php[/b] here please?
alins Designer Από Turkey Μέλος από Απρ 2019 alins 17 Οκτ 2023 18:17 @blixten insert after product name or before short description. <h1 class="title"> <?php echo $name; ?> </h1>
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 17 Οκτ 2023 20:02 In your file [b]box_product.inc.php[/b] you have this line: Insert this line just above it: Another option is: in file [b]vmods/product_star_rating.xml[/b] Change these lines: <operation method="before"> <find><![CDATA[ <div class="stock-status" style="margin: 1em 0;"> ]]></find> to these lines: <operation method="before"> <find><![CDATA[ <div class="buy_now" style="margin: 1em 0;"> ]]></find>
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 18 Οκτ 2023 10:22 @jackmaessen How i show star look on the picture Can they be made so that the stars are also displayed even if the customer does not press into the product
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 18 Οκτ 2023 22:04 not possible yet with this script
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 20 Οκτ 2023 22:59 https://www.litecart.net/en/addons/601/product-star-rating (update)
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 07:58 This have same problem not working What code have you insert now so the stars show on the product page?
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 21 Οκτ 2023 09:20 Do the same as already mentioned above.
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 09:21 i have insert but thats not working The starts show in the product but not utside
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 21 Οκτ 2023 09:53 in vmods: in which file, which operation fails? Tell me: where do the stars not appear? When you open product?
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 09:56 This if i click in on the product the stars shows
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 21 Οκτ 2023 10:11 okay. Please upload file: [b]includes/templates/*.catalog/layouts/default.inc.php[/b]
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 10:21 look here default.inc.php
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 21 Οκτ 2023 10:32 i see the problem: You have this line in [b]includes/templates/*.catalog/layouts/default.inc.php[/b] <script src="<?php echo document::href_rlink(FS_DIR_TEMPLATE . 'js/app.js'); ?>"></script> And the add-on triggers on: <script src="<?php echo document::href_rlink(FS_DIR_TEMPLATE . 'js/app.min.js'); ?>"></script> So: in file [b]vmods/product_star_rating.xml [/b]change <file name="includes/templates/*.catalog/layouts/default.inc.php"> <!-- 1st operation --> <operation method="after"> <find><![CDATA[ <script src="<?php echo document::href_rlink(FS_DIR_TEMPLATE . 'js/app.min.js'); ?>"></script> ]]></find>``` to this: ```<!-- 2nd file --> <file name="includes/templates/*.catalog/layouts/default.inc.php"> <!-- 1st operation --> <operation method="after"> <find><![CDATA[ <script src="<?php echo document::href_rlink(FS_DIR_TEMPLATE . 'js/app.js'); ?>"></script> ]]></find>```
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 10:46 Yes, I have now changed and added and it doesn't work, the code doesn't work, you can let it go so you don't have to keep on with codes. Will remove this until you come up with one that really works as it should. If that works insert this code in vmods and upload a new update
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 11:43 This code not work vmods <!-- 2nd file --> <file name="includes/templates/*.catalog/layouts/default.inc.php"> <!-- 1st operation --> <operation method="after"> <find><![CDATA[ <script src="<?php echo document::href_rlink(FS_DIR_TEMPLATE . 'js/app.js'); ?>"></script> ]]></find>
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 21 Οκτ 2023 12:08 replace the vmod file If this not works, you probably modified the original files yourself And look that file [b]ext/productrating/jquery.star-rating-svg.js [/b]is present product_star_rating.xml
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 12:12 No thats not working if i upload this the take the stars away fron the shop. Yes the file are in the map
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 12:17 i don`t have the orginal thema
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 21 Οκτ 2023 12:22 ok. But this add-on is based on the original theme....
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 12:25 Ok thats the problem
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 21 Οκτ 2023 13:08 OEPS...forgot something important. It's not a theme issue. Please replace this vmod file if this does not work, then it's due to the theme
blixten19 LiteCart Fan Από Sweden Μέλος από Μαΐ 2022 blixten19 21 Οκτ 2023 13:44 i have take this file Look this not working
lasa LiteCart Fan Από Sri Lanka Μέλος από Νοε 2023 lasa 26 Νοε 2023 13:12 i had same issue... <link rel="stylesheet" href="<?php echo document::href_rlink(FS_DIR_TEMPLATE . 'css/app.min.css'); ?>" /> line not found in default.inc.php file head. same added and found working satisfactorily.
rob Designer Από Netherlands Μέλος από Μαρ 2024 rob 13 Μαρ 2024 15:37 Was playing around with litecart and must say what is the webstore fast!!! Wonder why it's not more populair ? Its way faster then shopify and prestashop. I tried to install the rating but seems to not like it site goes blanc and vmod gives a error. Just checking the basics before i start putting time into the webstore ;)
jackmaessen LiteCart Fan Από Netherlands Μέλος από Δεκ 2022 jackmaessen 14 Μαρ 2024 08:33 Can you show me the error in the vmod?