Giter Site home page Giter Site logo

dynazon's Introduction

STEP 1

add following snippet to product template makr sure id is id="variation_amazon_asin_custom_link"

<a id="variation_amazon_asin_custom_link" href="https://www.amazon.in/stores/VISIARO/page/FCD29134-CC6B-45A3-91C7-4CEC7329400D?ref_=ast_bln" target="_blank" rel="noopener noreferrer">
    <img class="alignnone wp-image-94" src="http://localhost:8000/wp-content/uploads/WhatsApp-Image-2021-04-22-at-11.28.11-PM.jpeg" alt="" width="104" height="50" />
</a>

STEP 2

Replace http://localhost:8000/wp-content/uploads/WhatsApp-Image-2021-04-22-at-11.28.11-PM.jpeg in above code with your amazon image location

STEP 3

in each product, in each product Variation, add Amazon ASIN

Settings

image

- Default URL(when no variation is selected) - Used when default url per product is not specified - URL Template (use {#var#} for placeholder) - Product variation ASIN is replaced in place of {#var#} eg: https://amazon.in/dp/{#var#}

Product settings

image

- Product Specific Default link if no variation is selected and no global default link specific in plugin settings (product meta field: dynazon_default_link)

Per Variation settings

image

- Asin from above field will be replaced in URL template

dynazon's People

Contributors

negati-ve avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.