Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

T

tivnwvng

@tivnwvng
About
Posts
15
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Side cart product images not working
    T tivnwvng

    https://paperj.am/

    Shop / WooCommerce

  • Side cart product images not working
    T tivnwvng

    The product images in cart won't appear until I refresh the site.
    Screenshot 2024-01-13 at 10.51.35 PM.png
    Screenshot 2024-01-13 at 10.51.56 PM.png
    Not sure why.

    Shop / WooCommerce

  • Shopify Button
    T tivnwvng

    Nevermind I figured it out.

    Holy shit ahahahaha.

    General Discussion

  • Shopify Button
    T tivnwvng

    And everytime I refresh the page one more add to cart button comes up. So If I clicked on 4 different pages, I would have 4 add to cart buttons stacked up on top of each other.

    General Discussion

  • Shopify Button
    T tivnwvng

    Hi I am trying to add a shopify button to my website, but everytime I add in the javascript for it the button shows at the bottom of my homepage. What am I doing wrong?

    <!-- SHOPIFY -->
    <script>
    Frontend.GlobalEvents.on('newpageshown', function(){

    function ShopifyBuyInit() {
        var client = ShopifyBuy.buildClient({
            domain: 'sixoverone.myshopify.com',
            apiKey: '6bcba7d0a1f8b95ab9e5b16f854ab92f',
            appId: '6',
            });
        
    ShopifyBuy.UI.onReady(client).then(function (ui) {
        ui.createComponent('product', {
            id: [454150389802],
            node: document.getElementById('product-component-855b57d3151'),
            moneyFormat: '%24%7B%7Bamount%7D%7D',
            options: {
                "product": {
                    "variantId": "all",
                    "width": "240px",
                    "contents": {
                        "img": false,
                        "imgWithCarousel": false,
                        "title": false,
                        "variantTitle": false,
                        "price": false,
                        "description": false,
                        "buttonWithQuantity": true,
                        "quantity": false
                    },
                
                "styles": {
                    "product": {
                        "text-align": "left",
                        "@media (min-width: 601px)": {
                            "max-width": "100%",
                            "margin-left": "0",
                            "margin-bottom": "50px"
                            }
                        },
                
                    "button": {
                        "background-color": "#f4e973",
                        "color": "#000000",
                        ":hover": {
                            "background-color": "#dcd268",
                            "color": "#000000"
                            },
                        "border-radius": "0px",
                        ":focus": {
                            "background-color": "#dcd268"
                            }
                        },
                
                    "title": {
                        "font-size": "26px"
                        },
                    
                    "price": {
                        "font-size": "18px"
                        },
                
                    "compareAt": {
                        "font-size": "15px"
                        }
                    }
                },
                
                "cart": {
                    "contents": {
                        "button": true
                        },
                
                    "styles": {
                        "button": {
                            "background-color": "#f4e973",
                            "color": "#000000",
                            ":hover": {
                                "background-color": "#dcd268",
                                "color": "#000000"
                                },
                    
                        "border-radius": "0px",
                        ":focus": {
                            "background-color": "#dcd268"
                            }
                        },
                
                        "footer": {
                            "background-color": "#ffffff"
                            }
                        }
                    },
            
                "modalProduct": {
                    "contents": {
                        "img": false,
                        "imgWithCarousel": true,
                        "variantTitle": false,
                        "buttonWithQuantity": true,
                        "button": false,
                        "quantity": false
                        },
            
                "styles": {
                    "product": {
                        "@media (min-width: 601px)": {
                        "max-width": "100%",
                        "margin-left": "0px",
                        "margin-bottom": "0px"
                        }
                    },
            
                "button": {
                    "background-color": "#f4e973",
                    "color": "#000000",
                    ":hover": {
                        "background-color": "#dcd268",
                        "color": "#000000"
                        },
                    "border-radius": "0px",
                        ":focus": {
                            "background-color": "#dcd268"
                            }
                        }
                    }
                },
            
                "toggle": {
                    "styles": {
                        "toggle": {
                            "background-color": "#f4e973",
                            ":hover": {
                                "background-color": "#dcd268"
                                },
                            ":focus": {
                                "background-color": "#dcd268"
                                }
                            },
                        "count": {
                            "color": "#000000",
                            ":hover": {
                                "color": "#000000"
                                }
                            },
            
                        "iconPath": {
                            "fill": "#000000"
                            }
                        }
                    },
            
                "productSet": {
                    "styles": {
                        "products": {
                            "@media (min-width: 601px)": {
                                "margin-left": "-20px"
                                }
                            }
                        }
                    }
                }
            });
        });
    }
    

    (function () {
    var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js';
    window.ShopifyBuy && window.ShopifyBuy.UI ? ShopifyBuyInit() : loadScript();

    function loadScript() {
        var script = document.createElement('script');
        script.async = true;
        script.src = scriptURL;
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);
            script.onload = ShopifyBuyInit;
            }
        })(); 
    });
    

    </script>

    General Discussion

  • Cannot delete anything in code editor
    T tivnwvng

    @arminunruh its okay I can just work around it : ) Great theme though, most of my friends I graduated with are using it for their portfolio site (including me). Do you think there will be some kind of e-commerce integration in the future?

    Bug Reports

  • Cannot delete anything in code editor
    T tivnwvng

    I was trying to add it to a page and it didnt show up. But when I tried to add it to a category right now, it worked. Maybe a bug or something. Thanks.

    Bug Reports

  • Cannot delete anything in code editor
    T tivnwvng

    I've also tried ninja form, and the same thing happens.

    Bug Reports

  • Cannot delete anything in code editor
    T tivnwvng

    @arminunruh I am trying to add a signup form w/ Mailchimp for WP. When I click on preview form nothing shows up. Maybe I am doing something wrong on my end.

    Bug Reports

  • Cannot delete anything in code editor
    T tivnwvng

    @arminunruh Thanks. How do I get the shortcode option to work? I can't get it to show up.

    Bug Reports

  • Cannot delete anything in code editor
    T tivnwvng

    Hello,

    I cannot delete anything in the source code area. But I can select the code I want to delete and press the spacebar to get rid of it.

    Bug Reports
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search