Home › Forums › WoodMart support forum › Template Updates Help – product loop and quantity breaking
Template Updates Help – product loop and quantity breaking
- This topic has 5 replies, 2 voices, and was last updated 4 days, 3 hours ago by Luke Nielsen.
-
AuthorPosts
-
November 14, 2024 at 1:32 pm #612122
guy-9295ParticipantHello again.
A bit sad I have to be here again, but I guess it is our fault – the dev that has done only partial work as it seems, and us, for trying to make up for it without the relevant knowledge.We had a few issues with our website, which made me dive into the admin panels. I have found out that we have old templates that need update. While not a programmer, I do realize that it means there might be different functions and that not updating them may cause big issues.
The problem is, we designed the site using the functions, features and css classes that were used.
We also did add some custom codes, as expected, to make the site meet our needs.When updating content-product.php – our shop loop breaks to pieces.
It creates the products as a list[
- ]
, it has no
on the previous div. We lose the design and the functionality we had.
Updating quantity-input.php – disables the plus and minus buttons on the products and inside the cart for quantity.
Updating form-checkout.php – shifted the layout, and it also creates different html layout [ regarding class names ] as it seems.How bad is it to stay on older template files?
Or, is there a way to try and make them work for us without breaking every piece of design we created for so long to fine tune the site to our needs?- This topic was modified 1 week, 1 day ago by guy-9295. Reason: Missclicked to send
Attachments:
You must be logged in to view attached files.November 14, 2024 at 1:45 pm #612128
guy-9295Participantadding two of the photos found in the drive link I added to the private area. All the info I could collect is there <3
Thank you in advance.Attachments:
You must be logged in to view attached files.November 15, 2024 at 11:54 am #612346
Luke NielsenKeymasterHello,
You can change back everything, we will update the templates for the next theme update. Or do you want to use the current customizations and at the same time update those templates?
Let me know if you have any questions.
Kind Regards
November 18, 2024 at 11:26 am #612881
guy-9295ParticipantWell, all I care for is to make sure that using the old template won’t break things.
As long as we can keep using the old version – it is easier for me.
Just wanted to make sure it won’t break anything if there are differences.November 18, 2024 at 12:37 pm #612924
guy-9295ParticipantI mean, it seems there is a difference in the functions, which is why I wonder if it might create bigger issues.
for example, preupdate content-product.php is using:
use XTS\Modules\Layouts\Main; defined( 'ABSPATH' ) || exit; global $product; $is_slider = woodmart_loop_prop( 'is_slider' ); $is_shortcode = woodmart_loop_prop( 'is_shortcode' ); $different_sizes = woodmart_loop_prop( 'products_different_sizes' ); $hover = woodmart_loop_prop( 'product_hover' ); $current_view = woodmart_loop_prop( 'products_view' ); $shop_view = woodmart_get_opt( 'shop_view' );
new template is really different and includes other functions in use.
Is there a way where it can create issues and problems?
If I dont have to update those – I’ll be happy.But since we have another issue on our live website, I am trying to check for any inconsistencies and issues in our files [ we get css and plugin codes pop up as text on our web pages in front end and in admin backend panel. cannot find the issue. and when it happens we have to fix it asap so the shop keeps working. if I find a way to showcase the issue I will ].
so for now I just wanna be sure it will create no issues if the templates differ so much.
also, afaik our dev removed the staging for now.November 18, 2024 at 6:20 pm #613063
Luke NielsenKeymasterHello,
Don’t worry, everything will work well if those template files are not updated.
Thank you for your time and have a good day!
Kind Regards
-
AuthorPosts
Tagged: template update
- You must be logged in to create new topics. Login / Register