• Resolved bebopmandaz

    (@bebopmandaz)


    I’m building a record store website and I need to display specification data on each product. Every product has a set of custom fields with data created with meta when I import my products by csv (format, condition, label, barcode no etc).  I’ve created a custom tab for all products called ‘More Details’ and on it I want to display a nice list with this data pulled in from those custom fields. I’d like it displayed on the tab like this example including the bold font styling:

    Format: Vinyl LP
    Condition: New
    Label: BMG
    Country of Origin: UK
    Release No: 964028775
    Barcode: 4099964028775
    Media Grade: M
    Sleeve Grade: M

    It’s just simple specification data to go on every product in my store but I need an automated way of doing it, it’s too much work to add it manually for each product. Can someone please suggest some php to achieve this?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Instead of importing them as custom meta, why not use the core fields already available in WooCommerce in the form of attributes? For more information on how that works, have a look at the following guide: https://woocommerce.com/document/product-csv-importer-exporter/

    Thread Starter bebopmandaz

    (@bebopmandaz)

    Thanks for your answer but I don’t think using attributes is the ideal solution for specifications. It could work up to a point, like to use when it would apply to a large number of similar products, like to specify condition (using terms new or used) or format (CD, Vinyl LP, Vinyl Single, DVD) etc, but not for things like catalogue or barcode numbers that are unique to each item. My data is already imported as custom fields, I just need a php snippet to insert these fields into a more details tab on each product. It shouldn’t be that difficult I wouldn’t have thought to someone fluent in php (which sadly is not me); it’s only simple custom field text data to insert onto a product page. Anyone have any ideas?

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello bebopmandaz,

    Thank you for your reply.

    If you’re looking for a custom-coded solution, I recommend posting your question in developer communities such as Woo Community Slack or Woo Community Facebook group where many experienced developers can provide input.

    Alternatively, you could consult a developer through platforms like Codeable or WooExperts, where you can find professionals who can create the PHP snippet you need to insert custom field data into the “More Details” tab on each product page.

    I hope this helps. ??

    Best regards.

    Thread Starter bebopmandaz

    (@bebopmandaz)

    Thanks for the info. I’ll try the community slack, see if someone can help there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.