Search found 35 matches
- 27 Sep 2021, 09:29
- Forum: Laravel package
- Topic: Laravel theme extension
- Replies: 2
- Views: 3740
Re: Laravel theme extension
thank you so much i think it's like in the old version we need just to put it in the ext package
Thank you
Thank you
- 24 Sep 2021, 16:59
- Forum: Laravel package
- Topic: Laravel theme extension
- Replies: 2
- Views: 3740
Laravel theme extension
Hello,
i have generated a new laravel extension here:
https://aimeos.org/extensions#:~:text=Create%20your%20own%20extension,configuration%20option%2C%20templates%20or%20classes.
Then i put it in the ext directory ? but the extension style not loaded there is some other things i need to setup ...
i have generated a new laravel extension here:
https://aimeos.org/extensions#:~:text=Create%20your%20own%20extension,configuration%20option%2C%20templates%20or%20classes.
Then i put it in the ext directory ? but the extension style not loaded there is some other things i need to setup ...
- 18 Aug 2021, 16:20
- Forum: Laravel package
- Topic: What means <!-- in templates page
- Replies: 2
- Views: 3705
Re: What means <!-- in templates page
for the first question, the supplier count is executed by the javascript in the header of filter :
<?php if( ( $url = $this->get( 'filterCountUrl' ) ) != null ) : ?>
<script defer src="<?= $enc->attr( $url ) ?>"></script>
<?php endif ?>
this filter get all count html (in this case javascript ...
<?php if( ( $url = $this->get( 'filterCountUrl' ) ) != null ) : ?>
<script defer src="<?= $enc->attr( $url ) ?>"></script>
<?php endif ?>
this filter get all count html (in this case javascript ...
- 18 Aug 2021, 13:02
- Forum: Laravel package
- Topic: What means <!-- in templates page
- Replies: 2
- Views: 3705
What means <!-- in templates page
Hello,
what is the role of <!-- in templates pages ? for example in the count collection of supplier i have this javascript code:
<?php $this->block()->start( 'catalog/count/supplier' ) ?>
// <!--
var supplierCounts = <?= $this->get( 'supplierCountList', map() )->toJson( JSON_FORCE_OBJECT ...
what is the role of <!-- in templates pages ? for example in the count collection of supplier i have this javascript code:
<?php $this->block()->start( 'catalog/count/supplier' ) ?>
// <!--
var supplierCounts = <?= $this->get( 'supplierCountList', map() )->toJson( JSON_FORCE_OBJECT ...
- 13 Aug 2021, 07:30
- Forum: Laravel package
- Topic: Add product to basket with ajax
- Replies: 6
- Views: 9699
Re: Add product to basket with ajax
Thank you so much it more clear now
- 12 Aug 2021, 09:23
- Forum: Laravel package
- Topic: Add product to basket with ajax
- Replies: 6
- Views: 9699
Re: Add product to basket with ajax
thank you, i have read the doc many time and its clear now, so to add a product to the basket you need first to retreive the product then the URL to add the product to the basket is in data['links']['basket/product']['href'].
I think this senario its not good we risk to overload the server with ...
I think this senario its not good we risk to overload the server with ...
- 12 Aug 2021, 08:41
- Forum: Laravel package
- Topic: Add product to basket with ajax
- Replies: 6
- Views: 9699
Re: Add product to basket with ajax
The message now is changing, i have send a post to this URL:
http://www.test.com/jsonapi/basket?_token=KxGAGidex9gvPlEwk4iiroiI94fsIQos1BqETKxt
with this data :
{"data":[{"attributes":{"product.id":"14","quantity":"1","supplier":"3","variant":["124","125","126"]}}]}
and i get this error ...
http://www.test.com/jsonapi/basket?_token=KxGAGidex9gvPlEwk4iiroiI94fsIQos1BqETKxt
with this data :
{"data":[{"attributes":{"product.id":"14","quantity":"1","supplier":"3","variant":["124","125","126"]}}]}
and i get this error ...
- 11 Aug 2021, 21:31
- Forum: Laravel package
- Topic: Add product to basket with ajax
- Replies: 6
- Views: 9699
Add product to basket with ajax
Hello,
I want to override the add to cart button in detail page with ajax, when i click in add to cart button i have this data from my form:
_token=teRyok7ZWWxMCvgfnJOT4zShG8nDZBaOJxKRsBag&b_action=add&b_prod[0][prodid]=14&b_prod[0][supplier]=3&b_prod[0][attrvarid][color]=124&b_prod[0][attrvarid ...
I want to override the add to cart button in detail page with ajax, when i click in add to cart button i have this data from my form:
_token=teRyok7ZWWxMCvgfnJOT4zShG8nDZBaOJxKRsBag&b_action=add&b_prod[0][prodid]=14&b_prod[0][supplier]=3&b_prod[0][attrvarid][color]=124&b_prod[0][attrvarid ...
- 02 Aug 2021, 13:38
- Forum: Laravel package
- Topic: Search produc by codes
- Replies: 5
- Views: 13525
Re: Search produc by codes
thank you for your response.
the search is well documented in the documentation except how to filter in relation in my case how i can filter product that is attached to a category ?
as you said in frontend only the product that is attached to a category is searched, so in admin json api i need to do ...
the search is well documented in the documentation except how to filter in relation in my case how i can filter product that is attached to a category ?
as you said in frontend only the product that is attached to a category is searched, so in admin json api i need to do ...
- 30 Jul 2021, 15:52
- Forum: Laravel package
- Topic: Search produc by codes
- Replies: 5
- Views: 13525
Re: Search produc by codes
Ah ok thank you, in the json admin api how i can get the same rules ? when i try with this url:
http://www.test.com/admin/default/jsonadm/product?filter%5B%7C%7C%5D%5B0%5D%5B%3D%3D%5D%5Bproduct.id%5D=&filter%5B%7C%7C%5D%5B1%5D%5B%3D~%5D%5Bproduct.code%5D=&filter%5B%7C%7C%5D%5B2%5D%5B%3D~%5D ...
http://www.test.com/admin/default/jsonadm/product?filter%5B%7C%7C%5D%5B0%5D%5B%3D%3D%5D%5Bproduct.id%5D=&filter%5B%7C%7C%5D%5B1%5D%5B%3D~%5D%5Bproduct.code%5D=&filter%5B%7C%7C%5D%5B2%5D%5B%3D~%5D ...