Help with Attributes

Open to all! Ask other shopowners for help.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Help with Attributes

Post by lecarlb »

beerbee wrote: Thu Jul 20, 2023 2:32 pm Hi,
lecarlb wrote: Wed Jul 19, 2023 7:42 pm I'm hoping to list the main model/sku number, then list the model numbers of the attributes. Also, I want it displayed to the customers so they will know the quantities.
Maybe that PI QT Pro Stock Table Module could be adapted to your needs regarding showing stock to your customers?
lecarlb wrote: Wed Jul 19, 2023 7:42 pm So I want to be able to import/export model numbers and quantities of the attributes. I hope that make sense.

I have QT Pro. I love the layout but I don't see where I can use the model numbers of the attributes.
And sorry, another question: What do you mean by attribute model numbers? There are products_options_values_id's which have to be unique and their names for the languages in use. The later could be called or used as attribute model if I look at your first post.

For exporting/importing using QTPro you'd need to use the product_id's, the options_id's and the products_options_values_id's as they are all unique product_model, names are not.

I'm just searching in my older files AFAIR I did some heavy adaption of Google Base Data Feeder to get both stock for products with attributes using QTPro and those without into a csv.

Which version of phoenix do you use and have your products only sizes or combinations like colors and sizes?

Kind regards

Christoph
I use version 1.0.8.20. The products only use sizes.

Here's how the model numbers are:

ABCDE is the main model number.

ABCDE-4 is size 4
ABCDE-5 is size 5

Thank you for helping


Join The Code Co-op to get access to your library in the Code Co-op Forum
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Help with Attributes

Post by lecarlb »

@beerbee the closest example of what I'm looking for has already been achieved by @burt here: https://www.clubosc.com/stocktake-by-at ... nised.html

Unfortunately, he has loss access to the code and probably doesn't have the spare time to recreate it from scratch.
beerbee
Member
Posts: 48
Joined: Mon Oct 26, 2020 4:56 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 5 times

Re: Help with Attributes

Post by beerbee »

Hi @lecarlb,

I'll try something, but this will take some time..have to install clean 1.0.8.20. first, because I'm far behind with live and playground shop(s), but I got something on my mind. Spare time is short ATM.

Kind regards

Christoph
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Help with Attributes

Post by lecarlb »

beerbee wrote: Mon Jul 24, 2023 8:01 am Hi @lecarlb,

I'll try something, but this will take some time..have to install clean 1.0.8.20. first, because I'm far behind with live and playground shop(s), but I got something on my mind. Spare time is short ATM.

Kind regards

Christoph
Ok and thank you
beerbee
Member
Posts: 48
Joined: Mon Oct 26, 2020 4:56 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 5 times

Re: Help with Attributes

Post by beerbee »

Hi @lecarlb ,

does this come close to what you wanted?

Kind regards

Christoph
You do not have the required permissions to view the files attached to this post.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Help with Attributes

Post by lecarlb »

beerbee wrote: Tue Aug 01, 2023 8:58 am Hi @lecarlb ,

does this come close to what you wanted?

Kind regards

Christoph
Yes. That's what I was imagining.
beerbee
Member
Posts: 48
Joined: Mon Oct 26, 2020 4:56 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 5 times

Re: Help with Attributes

Post by beerbee »

Hi @lecarlb,

for testing this is just a copy of pad_single_radioset.php with my changes, which is to be found in
/includes/system/override/qtpro/

So it would be best to rename the original file first.
The standard buy button is removed by javascript if you use the PI module - if not the script would have to adapted.

Kind regards
Christoph
You do not have the required permissions to view the files attached to this post.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Help with Attributes

Post by lecarlb »

beerbee wrote: Wed Aug 02, 2023 9:12 am Hi @lecarlb,

for testing this is just a copy of pad_single_radioset.php with my changes, which is to be found in
/includes/system/override/qtpro/

So it would be best to rename the original file first.
The standard buy button is removed by javascript if you use the PI module - if not the script would have to adapted.

Kind regards
Christoph
Hello @beerbee,
It seems to work :) The only very minor issue is a quantity of 1 is added to the cart when 2 is selected.
Thank you for your work.
beerbee
Member
Posts: 48
Joined: Mon Oct 26, 2020 4:56 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 5 times

Re: Help with Attributes

Post by beerbee »

Sorry, I not quite understand, have you got a link for me?
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Help with Attributes

Post by lecarlb »

beerbee wrote: Wed Aug 02, 2023 1:33 pm Sorry, I not quite understand, have you got a link for me?
Check your private messages please.

Thank you.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply