Closed payothemes closed 3 months ago
I understand your concern. We would like to inform you that we usually display the single article view from this template path: /templates/YOURTEMPLATE/html/com_j2store/product/default.php. Additionally, we display the product list view from this template path: /templates/YOUR-TEMPLATE/html/com_j2store/templates/bootstrap5/default.php. You can create a template override based on your needs and the products you are listing.
We have tested the process of creating a template override for both single product and product list views, and we can confirm that the template override works properly without any issues. For your reference, please check this video: [video link].
Hi, And where i can find this file com_j2store/templates/bootstrap5/default.php ? I dont see it in components/com_j2store/templates/bootstrap5/default.php
The same for components/com_j2store/product/default.php
Where is templates/bootstrap like in your video?
I use the latest version of J2store
Hi, And where i can find this file com_j2store/templates/bootstrap5/default.php ? I dont see it in components/com_j2store/templates/bootstrap5/default.php
You can find this one in /plugins/j2store/app_bootstrap5/app_bootstrap5/tmpl/bootstrap5/default.php
And for item file why is not overwrite?
vin., 29 dec. 2023, 22:06 Stanzi1791 @.***> a scris:
Hi, And where i can find this file com_j2store/templates/bootstrap5/default.php ? I dont see it in components/com_j2store/templates/bootstrap5/default.php
You can find this one in /plugins/j2store/app_bootstrap5/app_bootstrap5/tmpl/bootstrap5/default.php
— Reply to this email directly, view it on GitHub https://github.com/J2Store4/j2store4/issues/69#issuecomment-1872313571, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVFPCZ7BLI5TG56SUP67CTYL4PE5AVCNFSM6AAAAABBF37NN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGMYTGNJXGE . You are receiving this because you authored the thread.Message ID: @.***>
It appears to have to do with how you're linking to the products from your menu:
Menu Item
is using Menu Item Type = J2Store > Products List View
, the files that used are in:
/plugins/j2store/app_bootstrap3/app_bootstrap3/tmpl/bootstrap3/ or
/plugins/j2store/app_bootstrap4/app_bootstrap4/tmpl/bootstrap4/ or
/plugins/j2store/app_bootstrap5/app_bootstrap5/tmpl/bootstrap5/
Which folder is used depends on whether you've enabled Product view - Bootstrap 3
, 4
or 5
under administrator > Components > J2Store > Apps tab
. If you have more than one enabled it seems to use the newest version.
If you look inside these folders, files with a name starting with default
style the Product List
, and files with a name starting with view
style the Product View
. (See the docs here for more info, near the bottom of the page: https://docs.j2store.org/developer-guide/templates )
Copy the files you want to modify to:
/templates/YOUR-TEMPLATE/html/com_j2store/templates/bootstrap3/ or
/templates/YOUR-TEMPLATE/html/com_j2store/templates/bootstrap4/ or
/templates/YOUR-TEMPLATE/html/com_j2store/templates/bootstrap5/
Menu Item
is using Menu Item Type = Articles > Category Blog
or Menu Item Type = Articles > Single Article
, it appears to use the files under /components/media/j2store/views/product/Files with a name starting with item
seem to style the product in both the Product List
as well as the Product View
. In this case, copy the files you want to modify to: /templates/YOUR-TEMPLATE/html/com_j2store/product/
Hi, Thank you https://prnt.sc/h7MQ628YgZ91
and
https://prnt.sc/mtvDyQQofiEq https://prnt.sc/GgCtXMxwMoP4
Still not overwriting Example: i make >+< instead of * but nothing is changed.
I made something wrong?
În sâm., 30 dec. 2023 la 17:47, Stanzi1791 @.***> a scris:
It appears to have to do with how you're linking to the products from your menu:
- If your Menu Item is using Menu Item Type = J2Store > Products List View, the files that used are in:
/plugins/j2store/app_bootstrap3/app_bootstrap3/tmpl/bootstrap3/ or /plugins/j2store/app_bootstrap4/app_bootstrap4/tmpl/bootstrap4/ or /plugins/j2store/app_bootstrap5/app_bootstrap5/tmpl/bootstrap5/
Which folder is used depends on whether you've enabled Product view - Bootstrap 3, 4 or 5 under administrator > Components > J2Store > Apps tab. If you have more than one enabled it seems to use the newest version.
If you look inside these folders, files with a name starting with default style the Product List, and files with a name starting with view style the Product View. (See the docs here for more info, near the bottom of the page: https://docs.j2store.org/developer-guide/templates )
Copy the files you want to modify to:
/templates/YOUR-TEMPLATE/html/com_j2store/templates/bootstrap3/ or /templates/YOUR-TEMPLATE/html/com_j2store/templates/bootstrap4/ or /templates/YOUR-TEMPLATE/html/com_j2store/templates/bootstrap5/
- However, if your Menu Item is using Menu Item Type = Articles > Category Blog or Menu Item Type = Articles > Single Article, it appears to use the files under /components/media/j2store/views/product
Files with a name starting with item seem to style the product in both the Product List as well as the Product View. In this case, copy the files you want to modify to: /templates/YOUR-TEMPLATE/html/com_j2store/product/
— Reply to this email directly, view it on GitHub https://github.com/J2Store4/j2store4/issues/69#issuecomment-1872552029, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVFPCYHQK63ENSBO45DPDDYMAZP3AVCNFSM6AAAAABBF37NN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU2TEMBSHE . You are receiving this because you authored the thread.Message ID: @.***>
--
Best Joomla Templates and WordPress Themes on https://payo-themes.com
What product type are you using? I find that if I use a variable product type, I need to use the default_variableoptions.php
file (in the templates/bootstrap folder) to style the product options on the Product List
page.
Default products and i'm using bootstrap5 https://prnt.sc/WNdsmJS07-qZ https://prnt.sc/yC2UEo9oKnQM
În sâm., 30 dec. 2023 la 18:25, Stanzi1791 @.***> a scris:
What product type are you using? I find that if I use a variable product type, I need to use the default_variableoptions.php file (in the templates/bootstrap folder) to style the product options on the Product List page.
— Reply to this email directly, view it on GitHub https://github.com/J2Store4/j2store4/issues/69#issuecomment-1872559286, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVFPC4G5S2ZRR7ZJCZYAFDYMA56XAVCNFSM6AAAAABBF37NN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU2TSMRYGY . You are receiving this because you authored the thread.Message ID: @.***>
--
Best Joomla Templates and WordPress Themes on https://payo-themes.com
Then default_options.php
should be the correct file. Are you using the J2Store > Product List View
for the Menu Item
? And have you selected bootstrap5
as the Sub-template
on your menu item, Common Options
tab?
What you can also try, is putting the replacement files directly under /templates/YOUR-TEMPLATE/html/com_j2store/
, so /templates/YOUR-TEMPLATE/html/com_j2store/default_options.php
for the options file. For some reason I couldn't get the /templates/bootstrap5/
path to work a few days ago either, but placing the files at the root of the directory did seem to work.
I think that is not working because in the new version of J2store the structure is different and in html/com_j2store dont have the same structure like it needs.
În sâm., 30 dec. 2023 la 18:42, Stanzi1791 @.***> a scris:
Then default_options.php should be the correct file. Are you using the J2Store
Product List View for the Menu Item? And have you selected bootstrap5 as the Sub-theme on your menu item, Common Options tab?
image.png (view on web) https://github.com/J2Store4/j2store4/assets/6654587/bbc9e58d-b8dc-4e6f-a2ba-96108a026f3d
What you can also try, is putting the replacement files directly under /templates/YOUR-TEMPLATE/html/com_j2store/, so /templates/YOUR-TEMPLATE/html/com_j2store/default_options.php for the options file. For some reason I couldn't get the /templates/bootstrap5/ path to work a few days ago either, but placing the files at the root of the directory did seem to work.
— Reply to this email directly, view it on GitHub https://github.com/J2Store4/j2store4/issues/69#issuecomment-1872562314, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVFPC4JKYPHF7RSLQUKLALYMA76BAVCNFSM6AAAAABBF37NN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU3DEMZRGQ . You are receiving this because you authored the thread.Message ID: @.***>
--
Best Joomla Templates and WordPress Themes on https://payo-themes.com
These paths are working on my project with Joomla 4.4.1, J2Store 4.0.4 PRO and php 7.4.28. I'm not sure what else could be wrong. Hopefully mgopin3 will have the answer!
I have Joomla 5, php 8.1 and latest J2store
În sâm., 30 dec. 2023 la 20:26, Stanzi1791 @.***> a scris:
These paths are working on my project with Joomla 4.4.1, J2Store 4.0.4 PRO and php 7.4.28. I'm not sure what else could be wrong. Hopefully mgopin3 will have the answer!
— Reply to this email directly, view it on GitHub https://github.com/J2Store4/j2store4/issues/69#issuecomment-1872579264, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVFPC7YBKPGBX64WVC3YPLYMBMGPAVCNFSM6AAAAABBF37NN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU3TSMRWGQ . You are receiving this because you authored the thread.Message ID: @.***>
--
Best Joomla Templates and WordPress Themes on https://payo-themes.com
I understand your concern. Currently, we have not tested J2Store 4 compatibility with Joomla 5. Please rest assured that we appreciate your feedback, and we will take note of it. In the near future, we plan to migrate and conduct thorough testing to ensure J2Store 4 is compatible with Joomla 5. This update will be included in an upcoming J2Store release. Thank you for your patience and understanding.
@payothemes @Stanzi1791 We believe the reported issue has been addressed. Could you please confirm that the problem is resolved on your end? If everything looks good, we'll go ahead and close this issue.
If you have any further questions or if there's anything else you'd like assistance with, please don't hesitate to let us know. We appreciate your feedback!
Hi, In the latest J2store i want in product detail page to edit the main code https://prnt.sc/ap7peKEVyHKn
In templates/xvertt/html/com_j2store/product/ item_options.php adminitem_options.php
But nothing is change
I want to have inline title with option https://prnt.sc/jPhwJYkOuHuh
and i want to edit the php code to remove BR and to add ul li, Where can i add this and how i can overwrite ?