• Resolved riaann

    (@riaann)


    On the page there are 3 buttons 4×4 6×6 and Value Set. This is placed there by putting a HTML link in the product short description.

    Although it is working fine, it creates problems when exporting and migrating especially between different themes. As an example the Xstore theme is using a shortcut for this

    [button et_class="" target="_blank" style="medium white" url="https://enigmaembroidery.com/wp-content/uploads/2020/04/EE061_INFO.pdf" icon="" title="INFO"]

    Exporting this to another theme will not work because the other theme will see the code as plain text – Obviously a huge problems if you have a lot of products.

    Therefore my question – Is there a plugin that will create up to 4 horizontal buttons on certain product pages that will link to a pdf document either on the domain, of an external domain.

    I know it is possible to change the html to something like this
    <button><a href='https://enigmaembroidery.com/wp-content/uploads/2021/04/EE229A_INFO.pdf'>More Info</a></button>

    but my aim is to get this out of the product short description

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • AJ a11n

    (@amandasjackson)

    Hi @riaann

    I’m not sure if this is exactly what you are looking for, but I thought I’d share it just incase:

    https://woocommerce.com/products/product-documents/

    Thread Starter riaann

    (@riaann)

    The “closest” one that I found so far is called woo-document-preview, but I am battling with the styling.

    Currently it creates a button for each link on it’s own line, and I would like to have it horizontal. The moment I set it to float in the css it works, but there is virtually no space between the buttons and the add to cart button. it looks ugly

    This is the only css file used by the plugin

    .wcdp-preview-btn-div .wcdp-preview-btn {
    	color: #fff;
    	box-shadow: none !important;
    }
    .summary.entry-summary .wcdp-preview-btn-div {
    	padding: 10px;
    	vertical-align: middle;
    	background-color: #a46497;
    	cursor: pointer;
    	text-align: center;
    	border: 2px solid #fff;
    }
    .entry-summary .wcdp-preview-btn-div a.wcdp-preview-btn {
    	text-decoration: unset !important;
    }
    
    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi there @riaann

    The “closest” one that I found so far is called woo-document-preview, but I am battling with the styling.

    That’s great that you found one that’s likely almost meeting your requirements.

    Currently it creates a button for each link on it’s own line, and I would like to have it horizontal. The moment I set it to float in the css it works, but there is virtually no space between the buttons and the add to cart button. it looks ugly

    Ah, I see that there is still some drawback with the plugin.

    Since it’s a 3rd party plugin, I’d strongly recommend you to contact the original developer support or you might want to hire developers to customize it to meet your exact requirements.

    I wish I could help you much more here ??

    But I trust that points you in the right direction.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to proceed as advised above.

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is there a plugin for this ?’ is closed to new replies.