Jump to content



Latest News: (loading..)

* * * * * 3 votes

[Contribtion] Year/Make/Model for OSC v2.3.x


  • Please log in to reply
217 replies to this topic

#121   grellk

grellk
  • Members
  • 10 posts
  • Real Name:Michael

Posted 10 March 2012 - 09:45 PM

Hi all!

I am having an issue when using this mod coupled with Master Products for v2.3x. Basically the YMM is working as intended however if I try to add a master product (a core function of the Master Product addon) I do not get the option to assign it to a year, make, or model. My entire shopping cart revolves around being able to do this successfully so I would greatly appreciate any help you can offer.

I dont know enough about php to post up anything relevant but if you tell me which files you need to look at I can put them up here.

Thank you in advance!

#122   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 10 March 2012 - 11:01 PM

@grellk

The two files that would need to be altered significantly to use both of the contributions are /admin/categories.php and /product_info.php.  If you are NOT PHP proficient, then I suggest find someone who is to integrate the two.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#123   HaaGeN

HaaGeN
  • Members
  • 4 posts
  • Real Name:haagen

Posted 12 March 2012 - 08:40 AM

Maybe my message was not read because it's at the end of the 6th page so i've copy it here :$

Hi !

Thx for all this work ! It's works fine at the moment.

I would like to know if it's possible to add one more field in the box and modify date format like this
Year => ok
Make => ok
Model => ok
Engine => if possible add this field
Year => Modify this field that user would be able to enter MONTH - YEAR with drop-down list.

Does someone would be able to add these changes admin/catalog sides ?

Good day to all

#124   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 12 March 2012 - 01:48 PM

@HaaGeN,

YES, it is possible to add the fields if you re-write the code.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#125   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 28 March 2012 - 02:25 PM

To anyone interested, I just uploaded a revised contribution with a fourth filter for PART.  This filter can be altered to suit your individual needs such as trim or body type.

You can download the YMMP Fork here: http://addons.oscommerce.com/info/7835




Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#126   malenky

malenky
  • Members
  • 8 posts
  • Real Name:malenky
  • Gender:Male
  • Location:Columbus, Ohio, 43212

Posted 07 April 2012 - 08:49 PM

Dream Media - "make the contribution into a working contribution"

So is the latest YMMP contribute not working or is it just me.
Don't know if that last comment relates to the new post or a side project...


When I add fields to products they are not searchable by the box.
site example @ http://www.cheshirechoppers.com/catalog/product_info.php?cPath=55&products_id=234

Any help would be very much appreciated

#127   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 07 April 2012 - 11:47 PM

@malenky

yes, it does work on a standard installation.  If you have a modified store, you will have to modify the contribution to suit your needs.

Anyone having an issue with installing the contribution on a standard installation is welcome to contact me.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#128   malenky

malenky
  • Members
  • 8 posts
  • Real Name:malenky
  • Gender:Male
  • Location:Columbus, Ohio, 43212

Posted 13 April 2012 - 07:02 PM

Finally got the Y-M-M-P contribute to work on my site.

In the readme.txt there is a typo. Under catalog/index.php the last line is missing and end '}' right before the 'else { //default page' statement . It should read:

    include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING);
echo '</div>';}
//eof Year_Make_ .....


And for some reason the box module was not displaying the default value (Make, Model....), any values from the table, and the submit button would only make changes to the categories listed, would not go to a new page of items that fit the requirements.

To fix this I simply used the old module box and language module box from the previous YMM contribute posting. Could not find the error in the YMMP.

This is a great contribute and I'm happy it finally works.
Since my site has been up for a while now I had to install it using the txt file, not the drag on top set.


Thank you for making this contribute open to the community.

#129   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 13 April 2012 - 07:08 PM

@malenky

Hello,

Thank you for posting about the contribution.  I will review the mentioned issues and make corrections accordingly.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#130   malenky

malenky
  • Members
  • 8 posts
  • Real Name:malenky
  • Gender:Male
  • Location:Columbus, Ohio, 43212

Posted 13 April 2012 - 09:56 PM

so i guess I'm not exactly in the clear yet.
I saw a link in this form to   http://wardyb.byethost12.com/index.php  This is where I first saw a difference.

My site only filters items on the index.php page, for new products. It will not work once any of the categories are selected.
example: I can filter by make, the count of items changes (list of categories does not), and once i click on that category every item is displayed instead of just the ones that fit the criteria.

I don't even know where to start. I would like the categories list and products list to filter on submit.
Could you at least let me know which files and sections I would have to look through and debug?

Thanks.

#131   malenky

malenky
  • Members
  • 8 posts
  • Real Name:malenky
  • Gender:Male
  • Location:Columbus, Ohio, 43212

Posted 20 April 2012 - 09:02 PM

.... the placement of the the new php for the index page [ ReadMe.txt  #9B ], was the reason that products were only being filtered on the welcome page and not when any of the categories or sub-categories were selected.

I'm still working on making it a bit smoother but placing #9B in two locations seemed to solve most of my problems!

#132   _Keith_

_Keith_
  • Members
  • 33 posts
  • Real Name:Keith

Posted 07 May 2012 - 06:40 PM

So I am having a problem with this still.

I have it all installed but when I add a product then I go to do the year make and model enter the info click add... Nothing happens.
Tried on a mac and pc just to make sure it was not the computer I was on.

So to me the ADD button is not working. Any thoughts ideas?

Thanks

#133   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 07 May 2012 - 06:46 PM

@_Keith_

What browser version are you using ?  Are you using a standard installation of osCommerce or a template ?  Did you check your code edits for the categories.php file to ensure they are 100% correct ?


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#134   _Keith_

_Keith_
  • Members
  • 33 posts
  • Real Name:Keith

Posted 07 May 2012 - 06:57 PM

ill recheck them now. But I am using google chrome on both.

#135   _Keith_

_Keith_
  • Members
  • 33 posts
  • Real Name:Keith

Posted 07 May 2012 - 08:57 PM

Re did all the install on a clean categories file. Still not working.

#136   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,732 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 07 May 2012 - 09:33 PM

@_Keith_

Can you post the button code ?  I just installed this again on a clean install and it appears to work without an issue and I read the last few pages of this forum and haven't seen any other button issues mentioned.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#137   _Keith_

_Keith_
  • Members
  • 33 posts
  • Real Name:Keith

Posted 07 May 2012 - 10:22 PM

Where would I find it.

Sorry working on a friends mac today so dont have all my programs

Edited by _Keith_, 07 May 2012 - 10:22 PM.


#138   mossman

mossman
  • Members
  • 112 posts
  • Real Name:Aaron Renfroe
  • Gender:Male
  • Location:Asheville, NC

Posted 08 May 2012 - 08:52 PM

I have a dumb question.

When i add a new product there aren't any defined fields for year make and model.

How does the contribution sort through my products to generate the YMM's that are available in my store?

Would i create a new table for year make and model and drop in the OSC ID for the particular product?

Can someone provide me a link to a working example?

Thank you very much!
Aaron

#139   mossman

mossman
  • Members
  • 112 posts
  • Real Name:Aaron Renfroe
  • Gender:Male
  • Location:Asheville, NC

Posted 09 May 2012 - 07:23 PM

Sorry, i downloaded the most recent zip which didn't have the setup. Thanks!

#140   GoTTi

GoTTi
  • Members
  • 448 posts
  • Real Name:GoTTi

Posted 10 May 2012 - 10:40 PM

this mod doesnt have to work on sites for autoparts right? i can use this for other types of sites with similar idea and just change some code around for the labeling im assuming?