Skip to content

Instantly share code, notes, and snippets.

@philcon93
philcon93 / 1. Info.md
Last active March 24, 2016 05:23
Add time field in checkout

Adding Time Field in checkout to display in date required in order (cpanel/print docs)

B@se

The input fields will need:

  • Hour - deliveryhr
  • Minutes - deliverymin
@philcon93
philcon93 / 1. Info.md
Last active March 24, 2016 05:23
Update Set Tag / Limit Menu Amount

Update Set Tag / Limit Menu Amount

B@se

Example - Make your content menu have a limit of 10 items in level 3

@philcon93
philcon93 / 1. Info.md
Last active March 24, 2016 05:22
Get / Set Parent Misc Field

Get the parent elements when you have product variations else use this element

B@se

[%product sku:'[@parent_sku@]'%]

@philcon93
philcon93 / 1. user_misc.md
Last active March 24, 2016 05:20
Adding Custom User Fields To Checkout and My Account Pages

Custom User Fields to Checkout

Checkout - Prefix the customer user field input field ID with user_ to give you the field name on the Checkout page. So the field with ID - misc7 will have the input field attribute name - user_misc7 on the Checkout page.


Custom User Fields to My Account Pages

My Account Page - The input field attribute name should be misc# (e.g misc6) and the input field value should be [@misc#@] (e.g. [@misc6@])

@philcon93
philcon93 / 1. Info.md
Created December 22, 2015 07:07
Adjusting Neto.js default parameters

Adjusting Neto.js default parameters

The old Neto Store Finder used a postcode finder that would display 10 stores based off the inputted postcode.

If the user wanted to display more they can override the original function in Neto.js:

storeLocator_Init: function(param) {
            var defvals = {
                'zip_id': 'geo_zip',
@philcon93
philcon93 / 1. Neto.md
Last active September 4, 2019 10:43
Product Page Image and Alt Images to Slick and Fancybox with alt images

Product Page Image and Alt Images to Slick and Fancybox with alt images

	$('.slider-for').slick({
	  slidesToShow: 1,
	  slidesToScroll: 1,
	  arrows: false,
	  asNavFor: '.slider-nav'
	});
	$('.slider-nav').slick({
@philcon93
philcon93 / 1. Info.md
Last active January 20, 2016 00:33
Thumbnails caption same height

Set product title height for thumbnails based on largest

JS

if($('.product-name').length > 0)
@philcon93
philcon93 / style.css
Last active September 29, 2016 22:45
Add varaibles to your style.css
/*
Add varaibles to your style.css
Then you can edit these variables in the Neto theme editor
The first word before the pipe is the heading that you can group varaibles, which is not neccessary
*/
@philcon93
philcon93 / 1.md
Last active February 23, 2016 04:56
Check if product has been in the system longer then two weeks

Product been on your site longer than two weeks

B@se

@philcon93
philcon93 / 1.md
Last active November 8, 2016 03:28
Product Variations Highest and Lowest

Product Variations Highest and Lowest

B@se

[@lowest_price@]to [@highest_price@]