Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

[Contribution] Attributes Sorter, Copier with Weight etc.


19 replies to this topic

#1 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 18 January 2003, 20:50

Attributes Sorter and Copier v5.1 with Weight is presently on my website while testing and updating.

This addes in the Weight +/- feature per attribute per individual product.

This is handy for products with various attributes that Add or Delete weight from the product. Especially useful on products that are either a download or a shipped version of software or a book, etc.

It also has added a Product Listing feature for multiple submits to the cart. If the product has attribtues, you get the Buy Now button, if there are no attributes then you get a QTY box.

Enter in all the QTYS on the items you want to buy and hit one Add to Cart button.

Thanks to Jeff for helping get me going in the right direction for the Multiple QTY boxes.

Let me know if you have trouble with the Add-On, preferrably on this thread.

#2 BirdBrain

  • Community Member
  • 2,752 posts
  • Real Name:Kim Elliott

Posted 18 January 2003, 20:57

Linda,

Just one question, is it compatible with the old style check out?
Kim
~~~~~~~~~~~~~

#3 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 18 January 2003, 21:00

No ... snapshot 01/12/2003 ... :shock:

I suppose you want it to be eh? :roll:

Where did I put that bottle ... I know it's somewhere around here ... 8)

#4 BirdBrain

  • Community Member
  • 2,752 posts
  • Real Name:Kim Elliott

Posted 18 January 2003, 21:10

Linda,

Stop looking for the aspirin bottle....It's ok. I think I'll wait for the Milestone and then implement that change. :D
Kim
~~~~~~~~~~~~~

#5 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 18 January 2003, 21:13

I was going to say if you have the version ID for some of the key files it is not a horribly bad downgrade to make ... just kinda icky ... :D

So if needed, if could be done ... how hard can it be? :shock:

But, if you are planning on going to the new snapshot when the Milestone is release, either this will work as is or I will be upgrading it then.

#6 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 18 January 2003, 21:14

Oh ... and it wasn't the asprin bottle I was looking for ... :wink:

#7 burt

  • Community Sponsor
  • 6,958 posts
  • Real Name:G Burton
  • Gender:Male
  • Location:UK/DEV/on

Posted 18 January 2003, 21:45

You deserve a medal :D

I'm going to install and play with it tomorrow, I'll let you know how I get on :) :D

Many thanks for this, it's something that should be very useful to many store owners!

#8 livefooduk

  • Community Member
  • 205 posts
  • Real Name:Steve Rolfe
  • Gender:Male
  • Location:Somerset, UK

Posted 18 January 2003, 21:53

You deserve a whole load of medals :D
I would say this is an essential part of a good shopping cart program, thank you so much.
:oops: I hate to ask when you have given so much already but will it work with your Quantity controller V5.1 ? (which is also essential)
Best wishes
Steve

#9 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 19 January 2003, 00:20

You will need to figure out how to merge the two together.

Basically all the code in categories.php is replaced by new code.

The main handling of the weight is in /catalog/includes/classes/shopping_cart.php

Using Beyond Compare you should be able to see the differences.

Keep in mind this is a snapshot from 01-12-2003 and Quantity Controller is much older than that by a few weeks so be careful on new functions recently introduced.

#10 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 20 January 2003, 15:07

I sort of forgot something in the code ... :shock:

In the Admin on the products_attributes.php for the initial insert of an attribute, I forgot to add the weight in there.

The Edit has it but not the Insert at the bottom.

This is not a horrible thing, as you can add these on the product page. But it was an oversight.

I will have that out in the next release. :D

#11 Theodorb

  • Community Member
  • 95 posts
  • Real Name:Brian McDonald

Posted 20 January 2003, 15:41

I looks great Linda, I now have attribute 5.1, quantity 5.1 and center shop installed, pulled my hair on a few of the merges cause you put some of the same functions in different places in the 2 contributiosn, but looking great :o>

I hope they make your contributions part of the base, then all the on offs could be in the admin panel instead of the code.

Thanks for the great contributions

Theo :D
Share your knowlege and you learn even more !

#12 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 20 January 2003, 15:59

You are more than welcome. I am glad they are working for you.

#13 loxly

  • Community Member
  • 1,802 posts
  • Real Name:Deborah Carney
  • Gender:Male
  • Location:New York State

Posted 29 January 2003, 00:00

Before I get started, will this work with Ian's Loaded 4? Or should I go with a new snapshot? I'll be trying it on a new site instead of my existing one.

Debbie

#14 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 29 January 2003, 14:44

It replaces the current Attribute Enhancer that is in Ian's Load4

Just be careful when updating the categories.php page.

#15 wade

  • Community Member
  • 32 posts
  • Real Name:Wade

Posted 14 May 2003, 20:13

Hi Linda,

I've been searching most of the day for a mod so that I can add weight to product attributes to a product.

I've come across this contribution and also noted the new one "enhanced" you are working on.

Just want to make sure this version will work with the snapshop version 4/5/2003.

Really all I need, is the ability to add weight to product attributes only, nothing fancy, so I don't want to build Shea Stadium just to sell a hotdog, if you know what I mean.

Thanks for any help or other suggestions!

#16 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 14 May 2003, 20:22

Quote

Hi Linda,

I've been searching most of the day for a mod so that I can add weight to product attributes to a product.

I've come across this contribution and also noted the new one "enhanced" you are working on.

Just want to make sure this version will work with the snapshop version 4/5/2003.

Really all I need, is the ability to add weight to product attributes only, nothing fancy, so I don't want to build Shea Stadium just to sell a hotdog, if you know what I mean.

Thanks for any help or other suggestions!

This is based on 03-24-2003 and as soon as it is out, I will take it to the current snapshot.

You should not have any problems with it being only a week's difference.

Feel free to give it a whirl and test it out ... :D

#17 wade

  • Community Member
  • 32 posts
  • Real Name:Wade

Posted 14 May 2003, 20:30

Thanks as always!

#18 wade

  • Community Member
  • 32 posts
  • Real Name:Wade

Posted 15 May 2003, 00:41

Hi Linda, I'm not understanding the sort order.

I have a product with two options:

Manifold Cover
- Select
- Manifold Cover ($289.95)

Fuel Rail Covers
- Select
- 97-98 Fuel Rail Covers
- 99-03 Fuel Rail Covers

By default, i want "Select" to be the default item listed in each of the options. I go in to edit the product, i see the "Active Attributes" for this product, and I give sort order (for Fuel Rail Covers):

1
2
3
(1 in Select, 2 for 97..., 3 for 99...)

I've tried setting all three to 1, all three to 0, and as 1 2 3, but it's not sorting in the drop box. Can you stear me in the right direction?

#19 wade

  • Community Member
  • 32 posts
  • Real Name:Wade

Posted 15 May 2003, 01:08

ok, nevermind. i forgot about product_info.php. since i've already modified mine, i had to use Beyond Compare. Nice utility, btw, makes things a lot less hassle free!

#20 Ajeh

  • Community Member
  • 6,327 posts
  • Real Name:Linda McGrath
  • Location:Ohio

Posted 15 May 2003, 02:38

You will like the new SEC version, wade.

The attributes could be marked:

Select - Display Only - sort order 5
97-98 Fuel Rail Covers - sort order 10
99-03 Fuel Rail Covers - sort order 20

Note: I usually number by 10s and make my display onlys 5 for easier changes later.

If these are common attributes to products, you could then copy them from one product to another or one product to a category of products.