简体   繁体   中英

why is the second 'add to cart link' is hidden on ubercart/drupal site?

My site is built on drupal using ubercart. I have two 'add to cart links' on my page but for some reason the second one is hidden. It only shows if i delete the first one. You can see them both in view source of the page. (The second button should be next to 'contact us' button) My site is https://www.thepetwiki.com/mg-testsite.com/ubercart/painting/kaluga-dock any idea why?

You hide it in css.

http://www.thepetwiki.com/mg-testsite.com/ubercart/sites/all/themes/NaiveArtOnlineColorful/style.css

line 2819

#edit-actions--2 {
    display: none;
}

Drupal automatically changes the id if you have multiple form items with the same id.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM