Jump to content

changing attributes in front office


StrefaBiznesu

Recommended Posts

Hello.

Is there a way to set presta that way.

Set attributes to show default available, in stock for the client?

We have try module, that auto switch default combination after default one gone to 0.

But We cant use it, as it breaking external synchronizatoon.

We cant mess with default combination that way.

Link to comment
Share on other sites

Ok.

The overwrite file is for Prestashop 1.7.8.x !!!


Download the Link.php file.
Upload: FTP the file to the ./override/classes folder

./override/classes/Link.php


Administration:
1. Shop parameters => Traffic & SEO => Friendly URL "No" and save
1. Shop parameters => Traffic & SEO => Friendly URL "Yes" and save

Download link: https://we.tl/t-Yf5EU1tgyX

In this forum it is not possible to upload php, txt etc files to a theme, so I uploaded it outside.

Edited by 4you.software (see edit history)
Link to comment
Share on other sites

43 minutes ago, 4you.software said:

Ok.

The overwrite file is for Prestashop 1.7.8.x !!!


Download the Link.php file.
Upload: FTP the file to the ./override/classes folder

./override/classes/Link.php


Administration:
1. Shop parameters => Traffic & SEO => Friendly URL "No" and save
1. Shop parameters => Traffic & SEO => Friendly URL "Yes" and save

Download link: https://we.tl/t-Yf5EU1tgyX

In this forum it is not possible to upload php, txt etc files to a theme, so I uploaded it outside.

Seems We already have link.php there made by module.

https://wetransfer.com/downloads/59acc029de0f2ea07f8ab7bc6ae6263f20221004182508/ed419d948fc5412a98b9f613f612c1c720221004182519/c1dd1a

Link to comment
Share on other sites

  • 2 weeks later...
7 minutes ago, 4you.software said:

If your skills are not enough, please hire an experienced programmer and he will be happy to build the code for you 😉

Can you tell me which is your code part there please?

Also can you point me how to make, that attributes automatically switch to in stock while we have two or more combinations.

I.e size and color.

Color blue and black

Size L and S

Combination blue S is in stock but black S isn't.  Black is online L.

While im on blue i click on size L, i want it automatically switch to color black.

Link to comment
Share on other sites

Unfortunately, I don't understand at all.
Can you make a screenshot and paint the arrows? What I did is change the url address of the default combination when it has a default
combination of 0 quantity, without changing the default combination and ticking it in the administration.

Link to comment
Share on other sites

10 hours ago, 4you.software said:

Unfortunately, I don't understand at all.
Can you make a screenshot and paint the arrows? What I did is change the url address of the default combination when it has a default
combination of 0 quantity, without changing the default combination and ticking it in the administration.

I mean which line have you changed. Clearing cache did not solved.

Link to comment
Share on other sites

On 10/15/2022 at 4:07 AM, 4you.software said:

Unfortunately, I don't understand at all.
Can you make a screenshot and paint the arrows? What I did is change the url address of the default combination when it has a default
combination of 0 quantity, without changing the default combination and ticking it in the administration.

Which lines in code is it?

Link to comment
Share on other sites

  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...