kevin-doselection / 951753258

0 stars 0 forks source link

[ltsport.com] custom option #88

Closed kevin-doselection closed 7 years ago

kevin-doselection commented 7 years ago

Path: Product > Custom Options SKU: MG-TCA0711-4D-201-WS

  1. Make custom option can be shown on frontend
  2. Create import function to update product's custom option (title and context)

DB: ltsportc_magento DB 1: catalog_product_option Column: option_id (unique), product_id (item# e.g. 679), type (drop_down), is_require (1), sort_order

DB 2: catalog_product_option_title Column: option_title_id (unique), option_id (foreign key), store_id (0), title (year make model body type)

DB 3: catalog_product_option_type_price Column: option_type_price_id (unique), option_type_id, store_id (0), price (0), price_type (fixed)

DB 4: catalog_product_option_type_title Column: option_type_title_id (unique), option_type_id (foreign key), store_id (0), title (coupe sedan camry toyota 2007 2008 2009 2010 2011)

DB 5: catalog_product_option_type_value Column: option_type_id (unique), option_id (foreign), sort_order (0)

lihaolihao commented 7 years ago

1.I don't understand what ‘custom option’ is,and what do you want? 2.Is this the database you created?

kevin-doselection commented 7 years ago

I need your idea

For now, customer having issue to find out that is the product fits their car. Even we gave them the list, it still not convenient for them. image

Is it possible to use the dropdown list like this after SKU area? image I am thinking 1) using product's attribute: year, make, v_model, v_submodel to show only this product's year make model submodel or 2) showing all year make model submodel with a Check My Car button, after click, compare with product's year make model submodel and shows up a result (It fits your car; It doesn't fit your car)

-------------- ignore below for now ----------

  1. custon options is an attribute exists in simple product. Check on SKU: MG-TCA0711-4D-201-WS This is how backend looks. You can set value here. image Please check frontend also, some layout mess up if product has custom option.

  2. No, this is Magento default database

lihaolihao commented 7 years ago

we can use the dropdown,customer can check the product whether fit.This will realizel your requirements. qq 20170406101546 2.I still don't understand this function and where to show in Desktop.look a little confused. qq 20170406101753

kevin-doselection commented 7 years ago
  1. Yes the function that can check the vehicle fitment can help user to find out their car If you have time, do this task first.

  2. Don't worry. Put this out, The 1. function will do the same thing, then we will not need to make the 2. functional.

kevin-doselection commented 7 years ago

About 1. , desktop version can place at the same location as your image. mobile version can you put it after SKU and center it?

lihaolihao commented 7 years ago

ok,I will follow up.

lihaolihao commented 7 years ago

I make like this. qq 20170411165859 qq 20170411165947 qq 20170411170016

lihaolihao commented 7 years ago

Plese check it,thk.

kevin-doselection commented 7 years ago

Good. Add on mobile version also image

lihaolihao commented 7 years ago

mobile version qq 20170412111605 qq 20170412111619

kevin-doselection commented 7 years ago
  1. mobile version Center it. And can it shows without click?
  2. desktop version Show it after sku, before description And can it shows without click also? image
lihaolihao commented 7 years ago

1.I will do soon. 2.no,put in it will not work

kevin-doselection commented 7 years ago

Okay, but make your changes based on the latest version of ltsport.com I saw some function was missing yesterday

kevin-doselection commented 7 years ago
  1. Change "Fitment Check" result from text to image echo "It fits your car!"; Change to show image https://www.ltsport.com/guide/confirmed_mobile.jpg echo "It doesn't fit your car!Change to show image https://www.ltsport.com/guide/anotherone_mobile.jpg Center these image and Check Fitment. Total 3 images need to adjust.

    public function checkproAction(){
       $year = $_GET['year'];
       $make = $_GET['make'];
       $model = $_GET['model'];
       $sku = $_GET['sku'];     //"VSWV-ARSX0206-2D-201-WS";
    
       $product = Mage::getModel('catalog/product')->loadByAttribute('sku', $sku);
       //$name = $product->getName();
       $yearString=$product->getData('year');
       $Year = explode(';', $yearString);
       $makeString=$product->getData('make');
       $Make = explode(';', $makeString);
       $modelString=$product->getData('v_model');
       $Model = explode(';', $modelString);
       for($index=0;$index<count($Year);$index++){
            if($Year[$index] == $year){
                for($index1=0;$index1<count($Make);$index1++){
                    if($Make[$index1] == $make){
                        for($index2=0;$index2<count($Model);$index2++)
                        {
                            if($Model[$index2] == $model){
                                echo "It fits your car!";
                                return;
                            }
                        }  
                    }
    
                }  
            }          
        }  
        echo "It doesn't fit your car!";
    }
  2. 1) Center the dropdown list 2) directly show result when user already select year make model

image

3.mobile version homepage's dropdown search if only https can work, please set only https will show This one has year make model and will direct forward user to result page, when year make model are all filled

lihaolihao commented 7 years ago

1 and 2.ok qq 20170416110638 qq 20170416110646

kevin-doselection commented 7 years ago
  1. you can suspend it now

additional task 1: According to research, these 4 button are rarely been touch. URL: https://www.ltsport.com/mobile_home image Please create a slideshow (once at a time) by using these 6 imgs, and replace current 4 button. Path: https://www.ltsport.com/mobile_shopbyproduct image

additional task 2: menu 1) contact info change link to https://www.ltsport.com/mobile_contact_us 2) add additional link called FAQ, and create a page for it. I will put content later, mostly question and answer format. 3) move terms to footer, after installation guide. And remove customer login in the footer 4) footer, change name ourdoor carrier to bike rack, rooftop cargo to cargo basket, exterior guard to car cover image

additional task 3: search result 1) Text only shows after LT Sport (search results for honda civic 2015) 2) And show how many result was found. URL: https://www.ltsport.com/catalogsearch/result/?q=honda+civic+2015 image

lihaolihao commented 7 years ago

all have done qq 20170420162609 qq 20170420150219 qq 20170420162557 qq 20170420162543

kevin-doselection commented 7 years ago

slideshow my mistake I was saying place the slideshow to URL https://www.ltsport.com/mobile_home

image

And for URL https://www.ltsport.com/mobile_shopbyproduct, it should remains the same as below image

Possible for smooth animation?

kevin-doselection commented 7 years ago

add the same slideshow after youtube video image

image

lihaolihao commented 7 years ago

It is difficult to log in to the server in China,so pls add the code as below. path:"\ltsport.com\html\app\design\frontend\default\do2\template\catalog\product\list.phtml" `

height:100%;
margin: 0 0 0 0;
padding: 0px;
padding-top: 0px;
padding-bottom: 0px;
zoom: 1;

} -->

`