Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

"view All Variations As List" Modal Rate Topic   - - - - -

 
  • nmb
  • Member
  • Members
  • Join Date: 14-Aug 07
  • 136 posts

Posted 05 March 2020 - 04:28 AM #1

Please advise the location/template in order to make changes to "View all variations as list" modal. We want to hide some of the columns. See screenshot. Thanks.

Attached Thumbnails

  • variations.jpg


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22247 posts

Posted 05 March 2020 - 07:16 AM #2

design/themes/responsive/templates/addons/product_variations/blocks/products/variations_list.tpl


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • nmb
  • Member
  • Members
  • Join Date: 14-Aug 07
  • 136 posts

Posted 08 April 2020 - 06:38 PM #3

How to make it sort by Position and hide columns using my_changes addon? Thank you.



 
  • nmb
  • Member
  • Members
  • Join Date: 14-Aug 07
  • 136 posts

Posted 08 April 2020 - 10:18 PM #4

    {$products=$items}
    {$obj_prefix="`$block.block_id`000"}
    {$show_add_to_wishlist=$_show_add_to_wishlist|default:true}
    {$show_sku=$block.properties["product_variations.show_product_code"]|default:"Y" == "Y"}
    {$show_variation_thumbnails=$block.properties["product_variations.show_variation_thumbnails"]|default:"Y" == "Y"}
    {$show_price=true}
    {$show_add_to_cart=$_show_add_to_cart|default:true}
    {$but_role="action"}
    {$hide_form=true}
    {$show_product_amount=$settings.General.inventory_tracking == "Y"}
    {$hide_stock_info=false}
    {$show_out_of_stock=true}
    {$show_amount_label=false}
    {$show_qty=true}
    {$hide_qty_label=true}
    {$show_variations=true}
    {$show_sku_label=false}
    {$image_width=$image_width|default:50}
    {$image_height=$image_height|default:50}

    {hook name="products:product_variations_list_settings"}{/hook}

In product_variations_list_settings.post.tpl, it doesn't appear possible to override a variable. For example,

{$show_amount_label=true}

 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22247 posts

Posted 09 April 2020 - 07:08 AM #5

Override the whole template in this case

 

design/themes/responsive/templates/addons/my_changes/overrides/addons/product_variations/blocks/products/variations_list.tpl


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • thanetm
  • Junior Member
  • Members
  • Join Date: 16-Feb 10
  • 6 posts

Posted 28 June 2021 - 03:31 PM #6

Sorry to jump on an old topic - but if i wanted to have this display on the product page/ in a tab rather than as a modal - how could i do this? Thank you



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22247 posts

Posted 29 June 2021 - 06:36 AM #7

Sorry to jump on an old topic - but if i wanted to have this display on the product page/ in a tab rather than as a modal - how could i do this? Thank you

 

It is possible with additional custom development work


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • thanetm
  • Junior Member
  • Members
  • Join Date: 16-Feb 10
  • 6 posts

Posted 29 June 2021 - 09:25 AM #8

i had an epiphany overnight and i have now worked out how to do it :shock: :grin:



 
  • aricjoshua
  • Newbie
  • Trial users
  • Join Date: 18-Jun 21
  • 2 posts

Posted 16 September 2021 - 03:10 PM #9

Sorry for resurrecting an old thread, but how might I make this appear on the product page/in a tab rather than as a modal? Thank you very much.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22247 posts

Posted 17 September 2021 - 06:03 AM #10

Design -> Product tabs -> View all variations as list

 

just disable the "Show this tab in a popup window" option


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)