Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/read me #26

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Feat/read me #26

merged 1 commit into from
Jan 16, 2024

Conversation

DuvCharles
Copy link
Collaborator

No description provided.

@@ -48,7 +48,7 @@ const normalizeProductOption = (option: SyliusProductOption): ProductOption => (
});

export const normalizeProductImage = (image: SyliusProductImage): Image => ({
url: process.env.NEXT_PUBLIC_SYLIUS_API_URL + image.path,
url: process.env.NEXT_PUBLIC_SYLIUS_BACKEND_API + image.path,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pourquoi ça utilisait pas SYLIUS_STORE_DOMAIN ça ? je suis ok pour avoir une seule variable mais je trouve ça bizarre

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bah ça faisait vraiment doublon

@@ -72,7 +72,6 @@ export function AddToCart({
}) {
const [message, formAction] = useFormState(addItem, null);
const searchParams = useSearchParams();
const [isPending, startTransition] = useTransition();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça marche plus en next 14 ? et c'était pas utilisé ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

juste pas utilisé j'ai chié le rebase

- Upgrades search to include typeahead with dynamic re-rendering, vector-based similarity search, and JS-based configuration.
- Search runs entirely in the browser for smaller catalogs or on a CDN for larger.
1. You need a [Sylius](https://sylius.com/download/) instance, either in the cloud or self-hosted.
2. Follow the Read-Me of this [repository](https://github.com/theodo/sylius-commerce-config) to configure your Sylius Project
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c'est pas bizarre de renvoyer sur un autre repo en vrai ? parce qu'on dit qu'il y a besoin de n'importe quelle instance standard de sylius, et après on envoie sur un sylius spécifique

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

en v0 on peut renvoyer sur ce repo avec les fichiers de serialisation a custom

@DuvCharles DuvCharles merged commit 1d962d7 into main Jan 16, 2024
1 check passed
@DuvCharles DuvCharles deleted the feat/read-me branch January 16, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants